-
Notifications
You must be signed in to change notification settings - Fork 169
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
[ENH] Formalize presence of optional logs/ folder #1962
base: master
Are you sure you want to change the base?
Conversation
It is quite often desired to store logs, e.g. simply stdout/stderr from invocation of BIDS converters or other tools which were used to produce/change content in current BIDS datasset. They quite often provide ultimate provenance information to troubleshoot odd or incorrect results. But researchers, in my personal opinion, undervalue logs! But hinting them on "standard" location for them, I think we could inspire more of relevant to dataset provenance metadata being collected and shared. Dangers: might leak sensitive metadata, so may be wording should be adjusted to mention that they should be inspected/sensored. Shameless plug: consider using con-duct (https://github.com/con/duct) for your "logging needs". Note that I think that ideally the `logs/` should not include "derivative" data, such as e.g. output of `bids-validator`. Those outputs should go under `derivatives/bids-validator-{version}/output.json` or alike. (It might be the only reasonable "derivative" to recommend bundling with any "raw" or derived BIDS dataset).
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1962 +/- ##
=======================================
Coverage 86.87% 86.87%
=======================================
Files 16 16
Lines 1410 1410
=======================================
Hits 1225 1225
Misses 185 185 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with this. Up to now I probably would put them under code/
but that's not really the right place.
This is, IMO low-priority to standardize, since the logs themselves are not standardized, so this doesn't make them substantially more legible to tooling. But it doesn't harm anything that I can see and it's unlikely to have another use.
Co-authored-by: Chris Markiewicz <[email protected]>
It is quite often desired to store logs, e.g. simply stdout/stderr from invocation of BIDS converters or other tools which were used to produce/change content in current BIDS datasset. They quite often provide ultimate provenance information to troubleshoot odd or incorrect results. But researchers, in my personal opinion, undervalue logs! But hinting them on "standard" location for them, I think we could inspire more of relevant to dataset provenance metadata being collected and shared.
TODOs:
?Danger: might leak sensitive metadata, so may be wording should be adjusted to mention that they should be inspected/sensored? WDYT?I think it is fine/assumedShameless plug: consider using con-duct (https://github.com/con/duct) for your "logging needs".
Note that I think that ideally the
logs/
should not include "derivative" data, such as e.g. output ofbids-validator
. Those outputs should go underderivatives/bids-validator-{version}/output.json
or alike. (It might be the only reasonable "derivative" to recommend bundling with any "raw" or derived BIDS dataset).