aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2023-09-25 19:27:52 +0000
committerzsloan2023-09-25 19:27:52 +0000
commitb4001d74419eb4aa05e9782776d8210faa218575 (patch)
tree600d262ab92f089d2a2bc6c14a5a6a4998b870fb /wqflask
parent0cfc0b7439554c385cca4acd835d4013dea63d75 (diff)
downloadgenenetwork2-b4001d74419eb4aa05e9782776d8210faa218575.tar.gz
Remove parents/f1s from Other sample group
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index d695dec3..fc4df4b7 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -505,7 +505,7 @@ class ShowTrait:
all_samples_ordered.append(sample)
other_sample_names.append(sample)
- # ZS: CFW is here because the .geno file doesn't properly
+ # CFW is here because the .geno file doesn't properly
# contain its full list of samples. This should probably
# be fixed.
if self.dataset.group.species == "human" or (set(primary_sample_names) == set(parent_f1_samples)) or self.dataset.group.name == "CFW":
@@ -527,9 +527,6 @@ class ShowTrait:
# "human" and self.dataset.group.name != "CFW":
if len(other_sample_names) > 0:
other_sample_names.sort() # Sort other samples
- if parent_f1_samples:
- other_sample_names = parent_f1_samples + other_sample_names
-
other_samples = SampleList(dataset=self.dataset,
sample_names=other_sample_names,
this_trait=self.this_trait,