Unverified Commit 03bbed80 authored by Zhang, Chen's avatar Zhang, Chen Committed by GitHub
Browse files

Merge pull request #283 from ornlneutronimaging/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
parents 9b2d6ded 14b88b9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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']
+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)