joaomcteixeira/taurenmd

View on GitHub

Showing 25 of 59 total issues

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

def frame_list(len_traj, start=None, stop=None, step=None, flist=None,):
Severity: Minor
Found in src/taurenmd/libs/libio.py - About 35 mins to fix

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

    def mk_frame_path(ipath, frame=0, ext='.pdb', leading=0, suffix=None):
    Severity: Minor
    Found in src/taurenmd/libs/libio.py - About 35 mins to fix

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

      def evaluate_to_slice(*, value=None, start=None, stop=None, step=None):
      Severity: Minor
      Found in src/taurenmd/libs/libio.py - About 35 mins to fix

        Avoid too many return statements within this function.
        Open

                return slice(value)
        Severity: Major
        Found in src/taurenmd/libs/libio.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return slice(*indexes)
          Severity: Major
          Found in src/taurenmd/libs/libio.py - About 30 mins to fix
            Severity
            Category
            Status
            Source
            Language