-
Notifications
You must be signed in to change notification settings - Fork 52
Add integration tests for mass_nifti_pic.py #1274
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
Add integration tests for mass_nifti_pic.py #1274
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.
The tests look good but I am not sure if we should be using hard-coded IDs in them.
If you think that's fine, then I am ok with it, if you also prefer to not use hard-coded IDs, you can query the files by path, and then use file.id
in the tests.
The only hard requirement to merge the PR is rename or delete parameter_file.py
, for the rest do what you like.
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.
Perfect 👍
This adds integration tests for the
mass_nifti_pic.py
script.That exercise revealed a few error messages from
mass_nifti_pic.py
that were incorrect or in the wrong order so correcting them at the same time.