Sbozzolo / kuibit

Function with cyclomatic complexity higher than threshold PY-R1000
Anti-pattern
Minor
1 occurrence in this check
AllGridFunctions.__init__ has a cyclomatic complexity of 17 with "high" risk
1538    # The oddball case is with OpenPMD files. OpenPMD files are actually folders
1539    # with extension .bp4 and they are always 3D.
1540
1541    def __init__(self, allfiles, dimension, num_ghost=None):1542        """Constructor.
1543
1544        :param allfiles: List of all the files.