Commit 16fa54fd authored by Thomas Vincent's avatar Thomas Vincent

Add write lock around file object creation

parent 32879254
......@@ -1180,7 +1180,9 @@ def _to_qspace(th_idx,
t_w_lock = 0.
t_context = 0.
output_h5 = QSpaceH5.QSpaceH5Writer(output_fn, mode='r+')
if shared_progress is not None:
progress_np = np.frombuffer(shared_progress, dtype='int32')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment