-
Notifications
You must be signed in to change notification settings - Fork 171
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] Generalize rules that labels must be used consistently #1328
base: master
Are you sure you want to change the base?
Changes from all commits
0f383a2
f500e59
0b26a61
8bea7df
9d30948
e4b4365
a360f38
fe5397b
c8a4844
b165609
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -87,6 +87,9 @@ label: | |||||||||||||
for example, it is `rest` in `task-rest` following `task-<label>` specification. | ||||||||||||||
Note that labels MUST not collide when casing is ignored | ||||||||||||||
(see [Case collision intolerance](SPEC_ROOT/common-principles.md#case-collision-intolerance)). | ||||||||||||||
Labels MUST be consistent across subjects and sessions and data types. | ||||||||||||||
For example, an `acq` entity label `hires` used on the `anat` data of a given subject | ||||||||||||||
MUST mean the same thing as `acq-hires` in `func` files of any other subject. | ||||||||||||||
Comment on lines
+90
to
+92
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MUST is IMHO too strong of a word here since we do not even define the meaning of "mean" in this case -- is it EXACTLY the same resolution? the same shimming? clearly it cannot be "the same everything" since then functional must be an anatomical ;) Other example could be Hence
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might be additional factor -- IIRC bids-validator would issue a WARNING whenever "same" (e.g. |
||||||||||||||
modality: | ||||||||||||||
display_name: Modality | ||||||||||||||
description: | | ||||||||||||||
|
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 do not see why I am to be disallowed to use
sample-1
,sample-2
and so on across my subjects if I do not have any other logical description for samples besides some index (label
is superset ofindex
AFAIK).It seems that the intent here to demand some UUIDs, but I do not see really why here and why only for
sample
s.Moreover, as we ATM have mandatory
sub-
leading folder anyways, I do not understand really what "unique per subject" means really.