Commit 14b88b9f authored by pre-commit-ci[bot]'s avatar pre-commit-ci[bot]
Browse files

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
parent 4b265323
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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.")
+0 −1
Original line number Diff line number Diff line
@@ -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)