about summary refs log tree commit diff
path: root/wqflask
diff options
context:
space:
mode:
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,