RotationWrapper
unnecessarily calculates core of block instead of using DataSetBlock.data_unpadded
#447
Labels
minor
Nice to do but not vital
As the title says, the following logic is unnecessary and likely can be made tidier by using
block.data_unpadded
:httomo/httomo/method_wrappers/rotation.py
Lines 154 to 161 in 5c5c57b
Plus, the logic to extract the core out of a padded block is already tested for
DataSetBlock.data_unpadded
:httomo/tests/runner/test_dataset_block.py
Lines 532 to 552 in 5c5c57b
whereas the code extracting the block's core in the rotation wrapper isn't.
The text was updated successfully, but these errors were encountered: