PennLINC / qsirecon

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

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

Closed cookpa closed 3 months ago

cookpa commented 3 months 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 months ago

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