-
Notifications
You must be signed in to change notification settings - Fork 188
[ENH] Formalize presence of optional scratch/ folder #2184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2184 +/- ##
=======================================
Coverage 82.71% 82.71%
=======================================
Files 20 20
Lines 1608 1608
=======================================
Hits 1330 1330
Misses 278 278 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
heh heh -- just a curse of duplication! I, frankly, missed the fact that in https://github.com/bids-standard/bids-specification/blob/master/src/schema/rules/directories.yaml we describe directories separately for each of the dataset types, so I need to complement it now with the one for uff -- filed IMHO |
I oppose adding scratch directories to raw and derivative datasets. Those dataset types should be archive-ready, and a dumping ground of intermediate files does not belong in either, IMO. |
Hi @effigies . Indeed I might have not thought it fully through! So, even though I would have loved BIDS to prescribe as many locations as possible in a generic fashion, may be this "intermediate results" folder then should be "workflow specific" and instructed outside of the BIDS specification context. |
@yarikoptic are you saying that |
yes. I think it should be added to all ignores out there - .bidsignore and .gitignore for a good measure! |
As per @yarikoptic's suggestion, this PR proposes formalizing an optional
scratch/
subdirectory for storing temporary/working files. Nipoppy projects have ascratch/
directory, and it would be nice if it were added to the BIDS specification as well since we are moving towards aligning the Nipoppy project layout with the BIDS "study" dataset type.I based this PR off of the changes made in #2104 for adding the
docs/
directory, though I notice that #1962 has slightly different changes for thelogs/
directory. I'm not sure what the differences in the schema changes are and if it would make sense to add the additional changes from #1962. @yarikoptic what do you think?