-
Notifications
You must be signed in to change notification settings - Fork 174
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
Update API summary header and qc too grep more info #4077
Update API summary header and qc too grep more info #4077
Conversation
htdocs/api/v0.0.3-dev/candidates/visits/images/headers/Headers.php
Outdated
Show resolved
Hide resolved
htdocs/api/v0.0.3-dev/candidates/visits/images/headers/Headers.php
Outdated
Show resolved
Hide resolved
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.
@PapillonMcGill Thanks a lot for the suggestions. I believe I applied them all. Ready for another round of review when you are. Thanks!
htdocs/api/v0.0.3-dev/candidates/visits/images/headers/Headers.php
Outdated
Show resolved
Hide resolved
htdocs/api/v0.0.3-dev/candidates/visits/images/headers/Headers.php
Outdated
Show resolved
Hide resolved
@johnsaigle Thank you for your feedback. I believe I addressed all your comments. Please re-review when you have time. Thanks! |
Travis objection for return type
The "htdocs/api/v0.0.3-dev/candidates/visits/images/qc/QC.php:94 PhanTypeMismatchDeclaredReturn Doc-block of getImageCaveats contains declared return type \Loris\API\Candidates\Candidate\Visit\Imaging\Qc\an which is incompatible with the return type array declared in the signature" |
@driusan @johnsaigle Cool! Thanks for the clarification. Should be fixed now. |
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 doesn't appear to include the documentation update to docs/API/LorisRESTAPI_v0.0.3.md
@driusan Good catch! Thank you for bringing it up. I updated the documentation in the last commit. |
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.
@driusan I modified the documentation according to your comments. Let me know if you want me to actually hardcode 'warn' in the documentation. Figured I would wait for your feedback on that last one. Thanks!
@driusan A little reminder. I updated the documentation like you asked to. Ready for another review. Thanks! |
Updates to the API v.0.0.3 on the imaging side: - Addition of scanner information to the summary header of the API for a given filename (manufacturer, model, software version, serial number) - Addition of the image Caveat flag with the reason for the Caveat flag in the file qc page of the API Fix to API v0.0.2 on the imaging side: - The selected were not queried at the right place. The selected has been part of the files_qcstatus for several LORIS releases so updated the API queries so we can grep the Selected flag (before it returned some hash, now it returns True or False)
Brief summary of changes
Updates to the API v.0.0.3 on the imaging side:
Fix to API v0.0.2 on the imaging side:
This resolves issue...
Did not take the time to create an issue for that. Needed for the phantom VM so I figured I would issue a PR to the LORIS repo at the same time :).
To test this change...
You need imaging data to test this
If this sentence shows up it means I didn't read the instructions!
Yes I read it ;)