-
Notifications
You must be signed in to change notification settings - Fork 11
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
Start adding schema to CuBIDS #392
base: main
Are you sure you want to change the base?
Conversation
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.
This is fantastic!
@@ -177,6 +178,17 @@ def _parse_validate(): | |||
help="Lets user run a locally installed BIDS validator. Default is set to False ", | |||
required=False, | |||
) | |||
parser.add_argument( |
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.
This is a great idea. Note to future self: add section to docs that show where to get these files and suggest that users grab a copy at the start of a project.
cubids/cubids.py
Outdated
file_keys = ["task", "acquisition", "direction", "reconstruction", "run"] | ||
valid_entities = schema["rules"]["entities"] | ||
entity_names_to_keys = entity_names_to_keys = { | ||
k: v["name"] for k, v in schema["objects"]["entities"].items() |
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.
This is so great to see
cubids/utils.py
Outdated
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.
did this get re-introduced? May need a merge from main
Closes #271.
To do
Changes proposed in this pull request