aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/wgcna.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-10-05 17:34:59 +0300
committerBonfaceKilz2021-10-25 14:16:21 +0300
commitfd8650ca108cf61cd16b264e09568df9ad7bf428 (patch)
treeaccaaa4273aee797f1c33eda185a4d4773580bb9 /gn3/computations/wgcna.py
parentc6bce638cfac9df0a4f3f380971fde65b1947ad7 (diff)
downloadgenenetwork3-fd8650ca108cf61cd16b264e09568df9ad7bf428.tar.gz
pep8 formatting,pylint fixes
Diffstat (limited to 'gn3/computations/wgcna.py')
-rw-r--r--gn3/computations/wgcna.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/computations/wgcna.py b/gn3/computations/wgcna.py
index 94e2a40..d1d6d39 100644
--- a/gn3/computations/wgcna.py
+++ b/gn3/computations/wgcna.py
@@ -37,7 +37,7 @@ def stream_cmd_output(socket, cmd: str):
socket.emit("output",
{"data": line})
- # close above make sure the process is closed
+ # wait for process to complete code
socket.emit("output", {"data": "parsing the output results"})
@@ -48,7 +48,7 @@ def process_image(image_loc: str) -> bytes:
try:
with open(image_loc, "rb") as image_file:
return base64.b64encode(image_file.read())
- except FileNotFoundError as e:
+ except FileNotFoundError:
return b""