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