-
Notifications
You must be signed in to change notification settings - Fork 44
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 issue TestQualityMeasures' object has no attribute 'id_coins_sliced' #1710 #1711
Fixes issue TestQualityMeasures' object has no attribute 'id_coins_sliced' #1710 #1711
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.
Looks good to me.
I guess we could skip the whole class with one skipIf
above the class definition, but I haven't tested it.
I fixed the build issue on SIRF by not running this test in SIRF-SuperBuild paskino/SIRF-SuperBuild@c017a59
…argaret into test_quality_measures
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.
btw, why isn't scikit-image
a hard dependency?
I don't know - is it used elsewhere in CIL? If it is automatically installed with the CIL conda build I presume the skip decorator was there for SIRF reasons? |
because we only need it for this test. |
Does this mean we can add We have |
@KrisThielemans this PR fixes the unittest if |
why would we? If it's installed, the test will run, which has to be a good thing. |
Describe your changes
Added skip if no scipy to the new tests
Describe any testing you have performed
Please add any demo scripts to CIL-Demos/misc/
Link relevant issues
Closes #1710
Checklist when you are ready to request a review
Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.