98 |
|
except KeyError: |
99 |
|
dbs_version="v00_00_06" |
100 |
|
|
101 |
+ |
common.logger.debug(3,"Accessing DBS at: "+dbs_url+" with version: "+dbs_version) |
102 |
+ |
|
103 |
+ |
|
104 |
|
## service API |
105 |
|
args = {} |
106 |
|
args['url'] = dbs_url |
139 |
|
# total number of events |
140 |
|
self.maxEvents += events |
141 |
|
|
142 |
+ |
for block in self.eventsPerBlock.keys() : |
143 |
+ |
common.logger.debug(6,"DBSInfo: total nevts %i in block %s "%(self.eventsPerBlock[block],block)) |
144 |
+ |
|
145 |
|
if len(self.eventsPerBlock) <= 0: |
146 |
|
raise NotExistingDatasetError_DBS2 (("\nNo data for %s in DBS\nPlease check" |
147 |
|
+ " dataset path variables in crab.cfg") |