-
Notifications
You must be signed in to change notification settings - Fork 177
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
[Imaging Browser] Fix caveat bug not showing when there are pipeline protocol violations #8661
[Imaging Browser] Fix caveat bug not showing when there are pipeline protocol violations #8661
Conversation
18. Scan-level Caveat emptor are viewable to all, modifiable if and only if user has permission `imaging_browser_qc` and there are no | ||
pipeline protocol violations associated to the image in the MRI violation module (`Manual Caveat Set by...` protocol violation | ||
with no other protocol violations can be modified). Example in raisinbread: `OTT170_300170_V1` `fieldmapBOLD` images have | ||
pipeline protocol violations associated to the image in the MRI violation module and therefore should Caveat should not be editable. |
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.
Grammar: "...module and therefore should Caveat should not be editable."
Not part of your PR but I noticed that step 19 mentions the (old) resolved tab...
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.
Tested on my VM and behavior is as expected. Code looks good but minor correction suggested to the test plan. Approval is imminent.
Not sure it's related to your PR but I see this in the JS console when loading the imaging browser's session view:
|
That is odd, I do not get this in the console. |
Brief summary of changes
This fixes a bug where the Caveat link was not showing when a file has protocol violations logged automatically by the pipeline in the MRI violation module. It also fixes the link to the MRI violation module with the new react links.
Related to https://github.com/aces/HBCD/issues/738
Testing instructions
Checkout this branch and follow the test plan that has been updated with the latest changes.