childmindresearch / bids2table

Efficiently index large-scale BIDS neuroimaging datasets and derivatives
https://childmindresearch.github.io/bids2table/
MIT License
13 stars 3 forks source link

Detect non-BIDS folder structures early and abort #30

Closed nx10 closed 1 week ago

nx10 commented 2 months ago

We had an occurence where someone pointed b2t at a CPAC output directory also containing the CPAC/Nipype working dir (massive amount of tiny files) and b2t hung for a long time.

Could b2t somehow detect non-BIDS-conform folder structures early and abort the file scan?

nx10 commented 2 months ago

Related: https://github.com/childmindresearch/bids2table/issues/20

clane9 commented 3 weeks ago

I think this is a good issue to tackle next. @e-kenneally is looking into it.

clane9 commented 1 week ago

Closed by #35.