def readBaselineFiles(self):
    "\n    Reads the 'baseline' folder contained in dataDir. All files starting with 'baseline_' are read as baseline files.\n    These files should therefore be named as follows: 'baseline_<className>.csv'.\n    "
    baselineFiles = [fileName for fileName in os.listdir(self._baselineDir) if (os.path.isfile(os.path.join(self._baselineDir, fileName)) and fileName.startswith('baseline_'))]
    assert (len(baselineFiles) > 0)
    for baselineFile in baselineFiles:
        newBaseline = PyRadiomicsBaseline.readBaselineFile(os.path.join(self._baselineDir, baselineFile))
        cls = newBaseline.cls
        self._logger.debug('Read baseline for class %s', cls)
        self._baseline[cls] = newBaseline
        self._tests |= newBaseline.tests
Reads the 'baseline' folder contained in dataDir. All files starting with 'baseline_' are read as baseline files.
These files should therefore be named as follows: 'baseline_<className>.csv'.
def readBaselineFiles(self):
    "\n    Reads the 'baseline' folder contained in dataDir. All files starting with 'baseline_' are read as baseline files.\n    These files should therefore be named as follows: 'baseline_<className>.csv'.\n    "
    baselineFiles = [fileName for fileName in os.listdir(self._baselineDir) if (os.path.isfile(os.path.join(self._baselineDir, fileName)) and fileName.startswith('baseline_'))]
    assert (len(baselineFiles) > 0)
    for baselineFile in baselineFiles:
        newBaseline = PyRadiomicsBaseline.readBaselineFile(os.path.join(self._baselineDir, baselineFile))
        cls = newBaseline.cls
        self._logger.debug('Read baseline for class %s', cls)
        self._baseline[cls] = newBaseline
        self._tests |= newBaseline.tests