-
Notifications
You must be signed in to change notification settings - Fork 170
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
[MISC] consistently list filename templates; ext
--> extension
; _photo.jpg
--> _photo.<extension>
#1458
[MISC] consistently list filename templates; ext
--> extension
; _photo.jpg
--> _photo.<extension>
#1458
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1458 +/- ##
=======================================
Coverage 87.90% 87.90%
=======================================
Files 14 14
Lines 1273 1273
=======================================
Hits 1119 1119
Misses 154 154 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
update: okay I remembered now that the file templates are listed in the modality sections -- not all at the top: see e.g., this screenshot: But that rather means that we'd have to adjust this for NIRS and MOTION ... just so that it's consistent across modalities. WDYT? I also fixed:
|
ext
--> extension
; _photo.jpg
--> _photo.<extension>
Note (maybe for another PR):
|
ext
--> extension
; _photo.jpg
--> _photo.<extension>
ext
--> extension
; _photo.jpg
--> _photo.<extension>
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.
Can you remove:
- channels
- optodes
- coordsystem
from the main filename templates of the NIRS given that they have their own section.
I added it in e809a9c |
Actually, looking at motion, is |
cc @sjeung @JuliusWelzel for Chris' question: #1458 (comment) |
Nice !! |
adressed changes, thanks for the fix Remi.
The spec text suggests it's optional for events.
I guess it should be optional for physio/stim as well then 🤔 |
Actually made me notice a couple of things:
It should be:
and not
|
True. I think it'd be good if we could render inline filename templates using the schema as well ... that'd prevent this sort of error |
Waiting on determination of required/optional status of tracksys in events/physio/stim
Hi @sappelhoff @Remi-Gau @effigies
Hi! First of all, the tracksys entity is optional for both physio and stim, as well as events. And thanks Remi for spotting the order error, that is certainly a mistake in the text and it has to be updated to
|
@effigies @Remi-Gau @sjeung @JuliusWelzel from my side, this is now ready for one more review and a potential merge afterwards |
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.
Good to go for me.
thanks @sappelhoff for leading this
closes #1456
NOTE: see update below this post
Looking at this more closely, I was a bit surprised to see "channels" as a potential suffix in the filename templates for MOTION ... but not for EEG.
This first commit is to try out what works and what doesn't: adding
photo
andcoordsystem
as well (see EEG spec: https://bids-specification.readthedocs.io/en/latest/modality-specific-files/electroencephalography.html)Maybe we need to discuss this in more depth.
This is how it would look with the present changes: https://bids-specification--1458.org.readthedocs.build/en/1458/modality-specific-files/electroencephalography.html
... it looks good to me, it picks up all the correct extensions.
cc @Remi-Gau