aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/computations/wgcna.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/gn3/computations/wgcna.py b/gn3/computations/wgcna.py
index 0e49527..ab12fe7 100644
--- a/gn3/computations/wgcna.py
+++ b/gn3/computations/wgcna.py
@@ -37,11 +37,9 @@ def stream_cmd_output(socketio, request_data, cmd: str):
if results.stdout is not None:
for line in iter(results.stdout.readline, b""):
-
- line = line.decode("utf-8").rstrip()
-
socketio.emit("output",
- {"data": line}, namespace="/", room=request_data["socket_id"])
+ {"data": line.decode("utf-8").rstrip()},
+ namespace="/", room=request_data["socket_id"])
socketio.emit(
"output", {"data":