Loading .pre-commit-config.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ repos: - id: end-of-file-fixer - id: sort-simple-yaml - repo: https://github.com/psf/black rev: 22.12.0 rev: 23.1.0 hooks: - id: black args: ['--line-length=119'] Loading src/imars3d/backend/corrections/ring_removal.py +0 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,6 @@ class remove_ring_artifact(param.ParameterizedFunction): max_workers: int, tqdm_class, ) -> np.ndarray: # sanity check if arrays.ndim != 3: raise ValueError("This correction can only be used for a stack, i.e. a 3D image.") Loading src/imars3d/backend/reconstruction.py +0 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,6 @@ class recon(param.ParameterizedFunction): def _recon( self, arrays, theta, center, algorithm, filter_name, is_radians, perform_minus_log, ncore, **kwargs ) -> np.ndarray: if not is_radians: theta = np.radians(theta) Loading Loading
.pre-commit-config.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ repos: - id: end-of-file-fixer - id: sort-simple-yaml - repo: https://github.com/psf/black rev: 22.12.0 rev: 23.1.0 hooks: - id: black args: ['--line-length=119'] Loading
src/imars3d/backend/corrections/ring_removal.py +0 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,6 @@ class remove_ring_artifact(param.ParameterizedFunction): max_workers: int, tqdm_class, ) -> np.ndarray: # sanity check if arrays.ndim != 3: raise ValueError("This correction can only be used for a stack, i.e. a 3D image.") Loading
src/imars3d/backend/reconstruction.py +0 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,6 @@ class recon(param.ParameterizedFunction): def _recon( self, arrays, theta, center, algorithm, filter_name, is_radians, perform_minus_log, ncore, **kwargs ) -> np.ndarray: if not is_radians: theta = np.radians(theta) Loading