From 32f53c957b0aa71c01077bd243bdb693e04b368e Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 26 May 2016 22:13:44 +0000 Subject: Issue with certain samples (like BXD65a, ones were there are multiple for a single BXD or whatever) should be fixed for different mapping methods and data set types Renamed directories with genotypes so tools.py didn't need to be changed (which might mess up other deployments) Fixed error when searching genotype data sets --- wqflask/base/trait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask/base/trait.py') diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 05ee3d96..4fc95a60 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -481,7 +481,7 @@ class GeneralTrait(object): else: self.locus = self.lrs = self.additive = "" - if self.locus_chr != "" and self.locus_mb != "": + if (self.dataset.type == 'Publish' or self.dataset.type == "ProbeSet") and self.locus_chr != "" and self.locus_mb != "": #XZ: LRS_location_value is used for sorting try: LRS_location_value = int(self.locus_chr)*1000 + float(self.locus_mb) -- cgit v1.2.3