|
[Rivet-svn] r4080 - branches/2012-06-aidarivet/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Dec 12 15:12:36 GMT 2012
Author: marek Date: Wed Dec 12 15:12:36 2012 New Revision: 4080 Log: added direct access to .dat file from website created by rivet-mkhtml Modified: branches/2012-06-aidarivet/bin/rivet-mkhtml Modified: branches/2012-06-aidarivet/bin/rivet-mkhtml ============================================================================== --- branches/2012-06-aidarivet/bin/rivet-mkhtml Wed Dec 12 15:08:58 2012 (r4079) +++ branches/2012-06-aidarivet/bin/rivet-mkhtml Wed Dec 12 15:12:36 2012 (r4080) @@ -295,12 +295,14 @@ obsname = os.path.basename(datfile).replace(".dat", "") pngfile = obsname+".png" vecfile = obsname+"."+opts.VECTORFORMAT.lower() + srcfile = obsname+".dat" if opts.SINGLE: pngfile = os.path.join(analysis, pngfile) vecfile = os.path.join(analysis, vecfile) + srcfile = os.path.join(analysis, srcfile) anaindex.write(' <div style="float:left; font-size:smaller; font-weight:bold;">\n') - anaindex.write(' <a href="#%s-%s">⚓</a> %s:<br>\n' % (analysis, obsname, vecfile) ) + anaindex.write(' <a href="#%s-%s">⚓</a><a href="%s">⌘</a> %s:<br>\n' % (analysis, obsname, srcfile, vecfile) ) anaindex.write(' <a name="%s-%s"><a href="%s">\n' % (analysis, obsname, vecfile) ) anaindex.write(' <img src="%s">\n' % pngfile ) anaindex.write(' </a></a>\n')
More information about the Rivet-svn mailing list |