Skip to content

Commit

Permalink
close pools after use, resolution_measure_mrc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
atk13 committed Mar 3, 2024
1 parent d40bac6 commit 9ce6294
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resolution_measure_mrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def resolution_measure(vol1, vol2, num_cores, cube_size, \
par_args.extend(sweep_param('rt',range(2,14,2),tmp,project_name))
print("Running across %s cores"%num_cores)
pool.map(parallel_FSC_worker, par_args)

pool.close()

if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument("vol1",help="fn of first mrc volume")
Expand Down

0 comments on commit 9ce6294

Please sign in to comment.