ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/DataDiscovery_DBS2.py
(Generate patch)

Comparing COMP/CRAB/python/DataDiscovery_DBS2.py (file contents):
Revision 1.3 by gutsche, Wed Feb 7 16:47:45 2007 UTC vs.
Revision 1.7 by gutsche, Thu Apr 26 19:26:28 2007 UTC

# Line 90 | Line 90 | class DataDiscovery_DBS2:
90          try:
91              dbs_url=self.cfg_params['CMSSW.dbs_url']
92          except KeyError:
93 <            dbs_url="http://cmsdoc.cern.ch/cms/test/aprom/DBS/CGIServer/prodquery"
93 >            dbs_url="http://cmsdbsprod.cern.ch/cms_dbs_prod_global/servlet/DBSServlet"
94  
95          ## get DBS URL
96          try:
97              dbs_version=self.cfg_params['CMSSW.dbs_version']
98          except KeyError:
99 <            dbs_version="v00_00_05"
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
107          args['version'] = dbs_version
108 <
106 <        common.logger.debug(3,"Accessing DBS at: "+dbs_url+" with version: "+dbs_version)
108 >        args['level']   = 'CRITICAL'
109  
110          api = DBSAPI.dbsApi.DbsApi(args)
111          try:
# Line 137 | Line 139 | class DataDiscovery_DBS2:
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")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines