fepegar/torchio

View on GitHub

Showing 108 of 108 total issues

Function get_params has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def get_params(
Severity: Minor
Found in src/torchio/transforms/augmentation/intensity/random_motion.py - About 45 mins to fix

    Function __init__ has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def __init__(

      Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Minor
      Found in src/torchio/transforms/preprocessing/intensity/rescale.py - About 35 mins to fix

        Function extract_patch has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def extract_patch(  # type: ignore[override]
        Severity: Minor
        Found in src/torchio/data/sampler/weighted.py - About 35 mins to fix

          Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def __init__(
          Severity: Minor
          Found in src/torchio/datasets/ixi.py - About 35 mins to fix

            Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def __init__(
            Severity: Minor
            Found in src/torchio/transforms/augmentation/intensity/random_ghosting.py - About 35 mins to fix

              Function get_mask_from_masking_method has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def get_mask_from_masking_method(
              Severity: Minor
              Found in src/torchio/transforms/transform.py - About 35 mins to fix

                Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def __init__(
                Severity: Minor
                Found in src/torchio/transforms/augmentation/intensity/random_ghosting.py - About 35 mins to fix

                  Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      def __init__(
                  Severity: Minor
                  Found in src/torchio/transforms/preprocessing/spatial/crop_or_pad.py - About 35 mins to fix

                    Function _normalize has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def _normalize(

                      Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def __init__(

                        Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            def __init__(
                        Severity: Minor
                        Found in src/torchio/datasets/ixi.py - About 35 mins to fix

                          Function add_artifact has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def add_artifact(
                          Severity: Minor
                          Found in src/torchio/transforms/augmentation/intensity/random_motion.py - About 35 mins to fix

                            Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                def __init__(
                            Severity: Minor
                            Found in src/torchio/transforms/augmentation/spatial/random_anisotropy.py - About 35 mins to fix

                              Function _set_resampler_reference has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def _set_resampler_reference(
                              Severity: Minor
                              Found in src/torchio/transforms/preprocessing/spatial/resample.py - About 35 mins to fix

                                Function add_artifact has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    def add_artifact(
                                Severity: Minor
                                Found in src/torchio/transforms/augmentation/intensity/random_ghosting.py - About 35 mins to fix

                                  Function parse_params has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def parse_params(self, params, around, name, make_ranges=True, **kwargs):
                                  Severity: Minor
                                  Found in src/torchio/transforms/transform.py - About 35 mins to fix

                                    Function check_consistent_attribute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        def check_consistent_attribute(
                                    Severity: Minor
                                    Found in src/torchio/data/subject.py - About 35 mins to fix

                                      Function _parse_range has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          def _parse_range(
                                      Severity: Minor
                                      Found in src/torchio/transforms/transform.py - About 35 mins to fix

                                        Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def __init__(
                                        Severity: Minor
                                        Found in src/torchio/datasets/rsna_miccai.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language