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/base/data_set.py | |
parent | 6be1111fd76a2c47de7a20cc18bb9f4d8d2d4ffa (diff) | |
download | genenetwork2-03b6bcee689c1910bd850c6109cc37adc509cf5a.tar.gz |
autopep8: Fix E501
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r-- | wqflask/base/data_set.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index c14808d6..8ec0aaad 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -168,7 +168,8 @@ class DatasetType: results = g.db.execute(sql_query_mapping[t] % group_name).fetchone() if results: self.datasets[name] = dataset_name_mapping[t] - self.redis_instance.set("dataset_structure", json.dumps(self.datasets)) + self.redis_instance.set( + "dataset_structure", json.dumps(self.datasets)) return True return None @@ -239,7 +240,8 @@ class Markers: for line in bimbam_fh: marker = {} marker['name'] = line.split(delimiter)[0].rstrip() - marker['Mb'] = float(line.split(delimiter)[1].rstrip()) / 1000000 + marker['Mb'] = float(line.split(delimiter)[ + 1].rstrip()) / 1000000 marker['chr'] = line.split(delimiter)[2].rstrip() markers.append(marker) |