def _checkOutputDir(self): ''' Check if the outputDir exists. If not, create it ''' if not FSSelector.exists(self.outputDir, True): FSSelector.mkDir(self.outputDir)