diff options
author | zsloan | 2020-11-03 13:52:29 -0600 |
---|---|---|
committer | zsloan | 2020-11-03 13:52:29 -0600 |
commit | 1d00c9ad8348f7d58e3a6371a67df479d78ae45e (patch) | |
tree | df6e265d8fbfdea955b59a2e284fc9e5ef81db86 /wqflask | |
parent | ad716823091959a5332173a0fd2a040c969d2712 (diff) | |
download | genenetwork2-1d00c9ad8348f7d58e3a6371a67df479d78ae45e.tar.gz |
Joined sample names in primary_samples and all_samples with commas because this list was being split to get the N of samples; not sure why this was working before
* wqflask/wqflask/show_trait/show_trait.py primary_samples and all_samples passed as hidden form inputs now have names split by commas so they can be counted correctly when displaying the N on the mapping loading screen
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/show_trait/show_trait.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py index edf9638c..25ba1a1d 100644 --- a/wqflask/wqflask/show_trait/show_trait.py +++ b/wqflask/wqflask/show_trait/show_trait.py @@ -228,8 +228,8 @@ class ShowTrait(object): hddn = OrderedDict() if self.dataset.group.allsamples: - hddn['allsamples'] = ''.join(self.dataset.group.allsamples) - hddn['primary_samples'] = ''.join(self.primary_sample_names) + hddn['allsamples'] = ','.join(self.dataset.group.allsamples) + hddn['primary_samples'] = ','.join(self.primary_sample_names) hddn['trait_id'] = self.trait_id hddn['trait_display_name'] = self.this_trait.display_name hddn['dataset'] = self.dataset.name |