diff options
author | BonfaceKilz | 2021-04-30 12:45:59 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-04-30 13:45:15 +0300 |
commit | 03b6bcee689c1910bd850c6109cc37adc509cf5a (patch) | |
tree | 2ca686d7f1b6649bfbd593607aa406eff8efbfb7 /wqflask/maintenance/gen_select_dataset.py | |
parent | 6be1111fd76a2c47de7a20cc18bb9f4d8d2d4ffa (diff) | |
download | genenetwork2-03b6bcee689c1910bd850c6109cc37adc509cf5a.tar.gz |
autopep8: Fix E501
Diffstat (limited to 'wqflask/maintenance/gen_select_dataset.py')
-rw-r--r-- | wqflask/maintenance/gen_select_dataset.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py index 583a06e1..484336a6 100644 --- a/wqflask/maintenance/gen_select_dataset.py +++ b/wqflask/maintenance/gen_select_dataset.py @@ -120,14 +120,16 @@ def get_types(groups): else: if not phenotypes_exist(group_name) and not genotypes_exist(group_name): types[species].pop(group_name, None) - groups[species] = tuple(group for group in groups[species] if group[0] != group_name) + groups[species] = tuple( + group for group in groups[species] if group[0] != group_name) else: # ZS: This whole else statement might be unnecessary, need to check types_list = build_types(species, group_name) if len(types_list) > 0: types[species][group_name] = types_list else: types[species].pop(group_name, None) - groups[species] = tuple(group for group in groups[species] if group[0] != group_name) + groups[species] = tuple( + group for group in groups[species] if group[0] != group_name) return types |