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

Specify allowed values for entities that requires specific values in bids schema #809

Closed
soichih opened this issue May 25, 2021 · 1 comment · Fixed by #792
Closed

Specify allowed values for entities that requires specific values in bids schema #809

soichih opened this issue May 25, 2021 · 1 comment · Fixed by #792
Labels
schema Issues related to the YAML schema representation of the specification. Patch version release.

Comments

@soichih
Copy link

soichih commented May 25, 2021

Ref >

Allowed label values for this entity are `phase`, `mag`, `real` and `imag`,

Would it make sense to enumerate all allowed values for certain entities like this?

    options:
      - phase
      - mag
      - real
      - imag 

Downstream apps (ezBIDS, bids-validator, etc) can then use this information to let user pick / validate from one of the allowed values?

@sappelhoff sappelhoff added the schema Issues related to the YAML schema representation of the specification. Patch version release. label May 25, 2021
@tsalo
Copy link
Member

tsalo commented May 25, 2021

Ah, I actually have a PR for this: #792. It's a bit more expansive than this issue, but could be scaled back if necessary.

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
Development

Successfully merging a pull request may close this issue.

3 participants