Skip to content

Commit

Permalink
Don't delete m matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidemms committed May 31, 2023
1 parent c85ab1d commit 04455a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts_of/orthologues.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def Worker_OGMatrices_ReadBLASTAndUpdateDistances(cmd_queue, worker_status_queue
for gi, i in og[iiSp]:
for gj, j in og[jjSp]:
m[i][j] = 0.5*max(B[gi.iSeq, gj.iSeq], mins[gi.iSeq]) * maxes_inv[gi.iSeq]
del Bs, B, mins, maxes, m0, m1, maxes_inv, m # significantly reduces RAM usage
del Bs, B, mins, maxes, m0, m1, maxes_inv # significantly reduces RAM usage
worker_status_queue.put(("finish", iWorker, iiSp))
except queue.Empty:
worker_status_queue.put(("empty", iWorker, None))
Expand Down

0 comments on commit 04455a3

Please sign in to comment.