Skip to content
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

[FIX] Correct schema irregularities for func datatype #724

Merged
merged 3 commits into from
Feb 10, 2021

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented Feb 6, 2021

Closes None, but stems (in part) from bids-standard/bids-validator#1125 (comment).

Changes proposed:

  • Prohibit combination of echo entity and _events suffix. The echo entity delineates files within an imaging run, so it shouldn't be used for associated files that apply to the whole run.
  • Allow ce and dir entities with func/ continuous data (the _physio and _stim suffixes). These entities distinguish imaging runs, so they are required to link the continuous data to the imaging scan.
    • For example, we currently could have sub-X_task-Y_dir-AP_bold.nii.gz, sub-X_task-Y_dir-PA_bold.nii.gz, and sub-X_task-Y_physio.tsv.gz, and there would be no way to know which BOLD scan the physio is associated with.

These entities dissociate functional runs, so we need to allow them for physio/stim data in order to connect the continuous data to the imaging data.
@tsalo tsalo added the schema Issues related to the YAML schema representation of the specification. Patch version release. label Feb 6, 2021
@tsalo
Copy link
Member Author

tsalo commented Feb 9, 2021

One note- I need to rename the suffix groups to match those in the validator before merging this.

EDIT: Done!

Copy link
Member

@sappelhoff sappelhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@tsalo tsalo merged commit 5ecfc98 into bids-standard:master Feb 10, 2021
@sappelhoff sappelhoff changed the title FIX: Correct schema irregularities for func datatype [FIX] Correct schema irregularities for func datatype Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema Issues related to the YAML schema representation of the specification. Patch version release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants