Skip to content
Snippets Groups Projects
Commit 9d69edfa authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

attempt fix deadlock

parent 5e96719f
No related merge requests found
......@@ -252,6 +252,7 @@ def run(argv=sys.argv[1:]):
if worker_pool:
worker_pool.close()
worker_pool.join()
worker_pool = None
start = time.time()
if args.percent_rank_calibration_num_peptides_per_length > 0:
......@@ -305,6 +306,7 @@ def run(argv=sys.argv[1:]):
if worker_pool:
worker_pool.close()
worker_pool.join()
worker_pool = None
print("Train time: %0.2f min. Percent rank calibration time: %0.2f min." % (
training_time / 60.0, percent_rank_calibration_time / 60.0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment