diff options
author | BonfaceKilz | 2021-04-30 12:47:43 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-04-30 13:45:15 +0300 |
commit | d1bc52a0d8e1219f377e804c3f27a3543d234fcb (patch) | |
tree | 98e048c0dced42bff649ff0746ed6db2b49ff00d /wqflask/utility | |
parent | 03b6bcee689c1910bd850c6109cc37adc509cf5a (diff) | |
download | genenetwork2-d1bc52a0d8e1219f377e804c3f27a3543d234fcb.tar.gz |
autopep8: Fix E70 and E701
Diffstat (limited to 'wqflask/utility')
-rw-r--r-- | wqflask/utility/Plot.py | 2 | ||||
-rw-r--r-- | wqflask/utility/tools.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/utility/Plot.py b/wqflask/utility/Plot.py index 4f5691c1..00658d10 100644 --- a/wqflask/utility/Plot.py +++ b/wqflask/utility/Plot.py @@ -319,7 +319,7 @@ def colorSpectrum(n=100): ImageColor.getrgb("rgb(0%,100%,0%)"), ImageColor.getrgb("rgb(0%,0%,100%)")] N = n * multiple - out = [None] * N; + out = [None] * N for i in range(N): x = float(i) / N out[i] = ImageColor.getrgb("rgb({}%,{}%,{}%".format( diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py index 263c3948..d82e478d 100644 --- a/wqflask/utility/tools.py +++ b/wqflask/utility/tools.py @@ -198,7 +198,8 @@ def locate(name, subdir=None): return lookfor else: raise Exception("Can not locate " + lookfor) - if subdir: sys.stderr.write(subdir) + if subdir: + sys.stderr.write(subdir) raise Exception("Can not locate " + name + " in " + base) |