-
Notifications
You must be signed in to change notification settings - Fork 75
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
Fixes #973 issue with pinnacle export CLI #995
Conversation
Yup, certainly, if that's okay. Here is an example: pymedphys/pymedphys/tests/dicom/test_header_tweaks.py Lines 44 to 54 in ed39ad7
Although there I removed the file after, it is much better to use a temp directory like the following: pymedphys/pymedphys/tests/experimental/pseudonymisation/test_pseudonymisation.py Lines 92 to 114 in ed39ad7
|
Cool, thanks for the examples. I'll sort that out, hopefully I can get that done tomorrow morning :) |
Hi @SimonBiggs , I've added some tests for the CLI, let me know what you think. If you're happy we can merge this and let it roll out in the next release. Thanks a lot! |
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.
Yup, LGTM. From what I gather, here you're mostly just doing some basic sanity checks on the CLI.
This fixes the issue reported in #973 where the trial couldn't be set using the command line interface.
@SimonBiggs I don't have a test which covers this code, since it's part of the CLI. Would you expect to have a test for the CLI functions?