-
Notifications
You must be signed in to change notification settings - Fork 163
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
[ENH] Specify echo and run indices are nonnegative integers in schema #578
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.
good catch @tsalo
Co-authored-by: Stefan Appelhoff <stefan.appelhoff@mailbox.org>
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 catch... does illustrate the attentiveness needed to keep the schema up to date.
Aside from the anal comment about typesetting keywords, this looks good to go.
Very true, but once we are able to render the specification text from the schema (e.g., #568), then we'll be back to having to only update definitions in one location. Until then, I'll try to pay closer attention to any PRs that impact entities. |
We could add a quick test that just greps through the entire source for these description texts. |
@effigies I'll open a new issue for that and merge this. Thanks all! |
@nicholst I just realized that we probably missed a definition in the "common principles" section. See: https://bids-specification.readthedocs.io/en/latest/02-common-principles.html#definitions under point 9:
should this become |
Yes @sappelhoff ! Better yet, specify that it's an integer: |
agreed! |
This incorporates the changes in #535 to the definitions for the
echo
andrun
entities to the schema. I should have commented directly on #535 about this, but I didn't think of it until this morning.