diff --git a/src/python/CRABClient/JobType/Analysis.py b/src/python/CRABClient/JobType/Analysis.py index fd8691c3..e26e706b 100644 --- a/src/python/CRABClient/JobType/Analysis.py +++ b/src/python/CRABClient/JobType/Analysis.py @@ -288,13 +288,6 @@ def validateConfig(self, config): if not valid: return valid, reason - ## Make sure only one of the two parameters Data.inputDataset and Data.userInputFiles - ## was specified. - if getattr(config.Data, 'inputDataset', None) and getattr(config.Data, 'userInputFiles', None): - msg = "Invalid CRAB configuration: Analysis job type accepts either an input dataset or a set of user input files to run on, but not both." - msg += "\nSuggestion: Specify only one of the two parameters, Data.inputDataset or Data.userInputFiles, but not both." - return False, msg - ## Make sure at least one of the two parameters Data.inputDataset and Data.userInputFiles ## was specified. if not getattr(config.Data, 'inputDataset', None) and not getattr(config.Data, 'userInputFiles', None):