|
[Rivet-svn] r2582 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Jul 12 23:28:26 BST 2010
Author: buckley Date: Mon Jul 12 23:28:32 2010 New Revision: 2582 Log: Improving rivet-rmgaps logging output Modified: trunk/bin/rivet-rmgaps Modified: trunk/bin/rivet-rmgaps ============================================================================== --- trunk/bin/rivet-rmgaps Mon Jul 12 23:24:15 2010 (r2581) +++ trunk/bin/rivet-rmgaps Mon Jul 12 23:28:32 2010 (r2582) @@ -119,14 +119,15 @@ ## Check for differences in the binning and remove superfluous MC bins: if len(refhist.data) != len(self.data): - logging.info(self.description['AidaPath']) + numrm = abs(len(self.data) - len(refhist.data)) + logging.info("Stripping %d bins from %s" % (numrm, self.description['AidaPath'])) newdata = [] for i in range(len(self.data)): if self.data[i]['LowEdge'] == refhist.data[i]['LowEdge'] and \ self.data[i]['UpEdge'] == refhist.data[i]['UpEdge']: newdata.append(self.data[i]) else: - logging.info('Deleted bin %d' % i) + logging.debug('Deleted bin %d' % i) refhist.data.insert(i, self.data[i]) self.data = newdata
More information about the Rivet-svn mailing list |