Skip to content

Commit f4abe4a

Browse files
committed
Use fork (Gemini idea) to stop losing locks in /dev/shm
1 parent 3f3a119 commit f4abe4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ImageD11/sinograms/lima_segmenter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def main(h5name, jobid):
389389
donefile.write(str(fname) + "\n")
390390
donefile.flush()
391391
except Exception as e:
392-
print(f"Main loop error: {e}", file=sys.stderr)
392+
print(f"Main loop error: ", e, file=sys.stderr)
393393
# If the main loop dies, we must kill the pool to stop things hanging
394394
mypool.terminate()
395395
finally:

0 commit comments

Comments
 (0)