116 |
|
fileBlocks_FileName = os.path.abspath(self.cfg_params.get('CMSSW.fileblocks_file',defaultName)) |
117 |
|
|
118 |
|
api = DBSAPI.dbsApi.DbsApi(args) |
119 |
+ |
allowedRetriveValue = ['retrive_parent', |
120 |
+ |
'retrive_block', |
121 |
+ |
'retrive_lumi', |
122 |
+ |
'retrive_run' |
123 |
+ |
] |
124 |
|
try: |
125 |
|
if len(runselection) <= 0 : |
126 |
|
if useParent: |
122 |
– |
allowedRetriveValue = ['retrive_parent', |
123 |
– |
'retrive_block', |
124 |
– |
'retrive_lumi', |
125 |
– |
'retrive_run' |
126 |
– |
] |
127 |
|
files = api.listFiles(path=self.datasetPath, retriveList=allowedRetriveValue) |
128 |
|
common.logger.debug(5,"Set of input parameters used for DBS query : \n"+str(allowedRetriveValue)) |
129 |
|
common.logger.write("Set of input parameters used for DBS query : \n"+str(allowedRetriveValue)) |