def createCrabCfg(self, fileContents, path):
    if (self.NJobs > 1):
        msg = "jobmode 'crab' not supported for parallel validation. Please set parallelJobs = 1."
        raise AllInOneError(msg)
    self.crabConfigFiles = self.createFiles(fileContents, path)
    return self.crabConfigFiles
def createCrabCfg(self, fileContents, path):
    if (self.NJobs > 1):
        msg = "jobmode 'crab' not supported for parallel validation. Please set parallelJobs = 1."
        raise AllInOneError(msg)
    self.crabConfigFiles = self.createFiles(fileContents, path)
    return self.crabConfigFiles