Definition at line 225 of file BeamSpotPostProcessing.py.
◆ run()
| def python.BeamSpotPostProcessing.LinkResults.run |
( |
|
self | ) |
|
Definition at line 226 of file BeamSpotPostProcessing.py.
227 resultFiles = self.taskDict[
'RESULTFILES']
229 if 'AveBeamSpot' in self.executedSteps:
230 self.log(text=
'WARNING: You should always run AveBeamSpot after LinkResults to avoid overwriting results\n',doPrint=
True)
233 for r
in resultFiles.split():
234 what =
'.'.
join(r.split(
'.')[-2:])
235 if what
in linkTemplates:
236 if linkTemplates[what]:
237 resultLinks =
' '.
join([resultLinks, linkTemplates[what] % (self.dsName,self.taskName,r)])
239 resultLinks =
' '.
join([resultLinks,
'<a href="../files?u=%s/%s/%s">%s</a>' % (self.dsName,self.taskName,r,what)])
240 self.taskman.setValue(self.dsName,self.taskName,
'RESULTLINKS',resultLinks)
The documentation for this class was generated from the following file: