Skip to content

Commit

Permalink
testing the realign, and seems to be working so far
Browse files Browse the repository at this point in the history
  • Loading branch information
fawaz-dabbaghieh committed Jun 20, 2024
1 parent c2fafe9 commit 5adfe0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gaftools/cli/realign.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ def one_is_alive(processes):
def all_exited(processes):
for p in processes:
if p.exitcode != 0:
print([x.pid for x in processes])
print([x.exitcode for x in processes])
return False
return True

Expand Down Expand Up @@ -213,7 +211,7 @@ def realign_gaf(gaf, graph, fasta, output, cores=1):
# all_exited returns false if one exited with non-zero code
if not all_exited(processes):
logger.error(
"One of the processes had a none-zero exit code"
"One of the processes had a none-zero exit code. One reason could be that one of the processes consumed too much memory and was killed"
)
sys.exit(1)
if (
Expand Down

0 comments on commit 5adfe0f

Please sign in to comment.