diff options
author | Alexander Kabui | 2021-10-20 13:26:02 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-25 14:16:21 +0300 |
commit | 5440bfcd6940db08c4479a39ba66dbc802b2c426 (patch) | |
tree | 8109cf2c76c0002671770170ead2b373ce0858f6 /gn3/computations | |
parent | a016f291176a974e654c9387937057cb8f6aa250 (diff) | |
download | genenetwork3-5440bfcd6940db08c4479a39ba66dbc802b2c426.tar.gz |
mypy:Incompatible types in assignment fix
Diffstat (limited to 'gn3/computations')
-rw-r--r-- | gn3/computations/wgcna.py | 6 |
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": |