Skip to content

Commit

Permalink
Fix for Typo in main.py #20
Browse files Browse the repository at this point in the history
  • Loading branch information
douweschulte committed Mar 25, 2022
1 parent a922bd0 commit ca0cf82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion disvis/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from sys import stdout, exit
from time import time
import multiprocessing as mp
import Queue
from argparse import ArgumentParser
import logging

Expand Down Expand Up @@ -247,7 +248,7 @@ def mp_cpu_disvis(receptor, ligand, rotmat, weights, distance_restraints,
# Check whether the queue is empty, this indicates failure to run on
# multi-processor runs.
if queue.empty():
raise mp.Queue.Empty
raise Queue.Empty

write('Searching done. Combining results')

Expand Down

0 comments on commit ca0cf82

Please sign in to comment.