-
Notifications
You must be signed in to change notification settings - Fork 52
Automated tests for run_nifti_insertion.py #1257
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
Automated tests for run_nifti_insertion.py #1257
Conversation
…t properly inserted
…t properly inserted
…t properly inserted
…t properly inserted
…t properly inserted
…t properly inserted
…t properly inserted
…t properly inserted
…t properly inserted
…t properly inserted
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.
Thanks for the PR ! I just have a few comments:
- The tests look good, but I would use
assert
to handleNone
values instead ofstr
-ing things. - Some type errors in the model relationships.
- Some naming preferences I have in the models.
So lots of small nits, but still, nice job overall ! Some stuff that I only have a weak opinion on is marked "Optional" if you prefer to ignore it.
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.
Hhhhhhmmmm, I guess considering you have some previous tests assert file.path == f'blablabla'
(that I missed whoopsie), you can indeed put the str()
back and merge, thanks for the quick reaction !
Description
Tests implemented:
mri_protocol_violated_scans
)files
andmri_violations_log
tables)Left to be implemented in a separate PR:
everything that is not checked yet in #1256