-
Notifications
You must be signed in to change notification settings - Fork 13
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
ENH: Comment out unused variable #125
ENH: Comment out unused variable #125
Conversation
I am happy to remove the entire block if we believe is better. |
Yes, I think this would be the better approach. We don't want to keep code history in commented out code. |
Remove unused variable and commented code block: getting the largest possible region of the superclass (`ImageToImageFilter`) is most likely being exercised in ITK proper. Fixes: ``` test/itkMorphologicalContourInterpolationTest.cxx:37:34: warning: unused variable 'reg' [-Wunused-variable] 37 | typename ImageType::RegionType reg = test->GetLargestPossibleRegion(); | ^~~ ``` raised for example in: https://open.cdash.org/viewBuildError.php?type=1&buildid=10154304
4ab1351
to
cfc760f
Compare
Done. Force pushed. |
We probably need |
A new RLEImage release is needed, as this fix in KitwareMedical/ITKRLEImage#67 needs to be included so that the build can succeed: @dzenanz Any chance to do that? Not sure if that involves bumping the version in |
A PR which changes the version number getting merged, and then creating a tag in GitHub web interface. |
I think the only place where version is specified is here: |
👍 Sounds good. |
@dzenanz The new version will need to be uploaded to PyPI as well. Thanks. |
I made a tag: When CI finishes, it should automatically publish a new version on PyPI. |
Unless the version in |
Yes, I bumped that version, see KitwareMedical/ITKRLEImage@44c747a. |
c094347
to
5cfc32c
Compare
Add `RLEImage` as an ITK module dependency to the GHA `built, test, package` workflow file.
5cfc32c
to
d6c3398
Compare
CI is green; no warnings in the dahsboard: https://open.cdash.org/index.php?project=Insight Ready to be merged. Thanks for the hard work @dzenanz ! |
Comment out unused variable: getting the largest possible region of the superclass (
ImageToImageFilter
) is most likely being exercised in ITK proper.Keep the commented code in case it is found to be useful when revisiting it in the future.
Fixes:
raised for example in:
https://open.cdash.org/viewBuildError.php?type=1&buildid=10154304