niaid / sitk-ibex

Aligning images acquired with the IBEX microscopy imaging technique
Apache License 2.0
17 stars 6 forks source link

BUG: Exception happens if all registration settings are disabled. #17

Closed zivy closed 3 years ago

zivy commented 3 years ago

If all the registration options are set to false the "result" variable didn't exist. Now it exists with identity transform.

blowekamp commented 3 years ago

Thanks for the PR. Please push the branch to niaid/sitk-ibex to make a PR so that the CI runs.

Also please add a little test to: https://github.com/niaid/sitk-ibex/blob/master/test/test_registration.py for this case.

zivy commented 3 years ago

Done.