PennLINC / qsirecon

Reconstruction of preprocessed q-space images (dMRI)
https://qsirecon.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Use file lock to avoid concurrent edits to dataset_description.json #91

Closed cookpa closed 3 weeks ago

cookpa commented 3 weeks ago

Changes proposed in this pull request

Use a file lock so that if multiple subjects are processed in parallel, the output dataset_description.json will only be written once.

Also fix the docker tag in the metadata, which referenced fmriprep.

I chose to make the lock file visible (ie, not starting with a .) because I figure it's best if it's visible just in case it causes problems and needs to be manually cleaned up. Happy to change this though

tsalo commented 3 weeks ago

We should copy these changes over to QSIPrep, XCP-D, ASLPrep, etc.