-
Notifications
You must be signed in to change notification settings - Fork 13
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
Adding ability do handle MRI metadata to be saved into the BIDS Sidecar #99
Conversation
@bhatiadheeraj is this still up to review? let us know when it is ready |
@anibalsolon I've alerted Dheeraj to a few lingering issues while reviewing, so we can hold off for now. |
@bhatiadheeraj @dlevitas I've removed ourselves as reviewers- to be re-added when the PR is good to review. Please let's try to keep reviews through the issue so others can also understand what's happening. |
@bhatiadheeraj, this PR is coming along nicely, there's one lingering issue that I failed to mention during our last meeting. One of the sequences is |
@bhatiadheeraj disregard my previous message. My recent commit addresses the issue I described. @anibalsolon feel free to review this PR when you get a chance. I ran through from a user (front-end) perspective, and was able to successfully create and download a BIDS-compliant ASL dataset. I didn't give much consideration to back-end processes, so feel to focus your review on that if you need that's appropriate. |
Something for us to consider, but shouldn't prevent this PR from being merged: Some metadata fields are optional, but become recommended (or required), depending on the value of other metadata fields. When optional metadata fields become required, they are outlined in red, which alerts the users to this change. If however, optional metadata fields become recommended, the user will be unaware. Additionally, the newly recommended metadata field won't move to the Recommended column. We should eventually address this, but it's not high priority for now, given that this won't trigger a BIDS validation error, nor does it prevent users from entering the information. |
@bhatiadheeraj can you please add a box around each column in the interface. I mean the following. Currently the interface for the metadata has 3 columns: Required, Recommended and Optional. I think it would be helpful to have each column be marked by a very lightly weighted box. Similar to the ezBIDS landing page box see here. |
Ready for review ! |
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.
LGTM
@@ -120,7 +141,10 @@ MRIASLPcaslSpecific: | |||
fields: | |||
PCASLType: | |||
level: recommended | |||
level_addendum: if `ArterialSpinLabelingType` is `"PCASL"` | |||
level_addendum: recommended if `ArterialSpinLabelingType` is `PCASL` |
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.
PCASLType
is already recommended, does the addendum change anything?
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.
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.
The level_addendum specifies conditions where the metadata might become required (or recommended), based on other metadata values
@bhatiadheeraj there's no validation to differentiate between number and array-type metadata values. For example, with |
LGTM, I'll merge this PR |
No description provided.