Commit 4d8868c6 authored by Andy Buckley's avatar Andy Buckley

Add Rivet analysis HTML doc link to the terminal 'show' output

parent 6e364173
......@@ -276,7 +276,9 @@ if len(args.SHOW_ANALYSES) > 0:
msg += name + "\n"
msg += (len(name) * "=") + "\n\n"
msg += rivet.util.detex(ana.summary()) + "\n\n"
msg += "Status: " + ana.status() + "\n\n"
msg += "Status: " + ana.status() + "\n"
msg += "URL: https://rivet.hepforge.org/analyses/{}.html".format(name) + "\n"
msg += "\n"
# TODO: reduce to only show Inspire in v3
if ana.inspireId():
......@@ -288,6 +290,7 @@ if len(args.SHOW_ANALYSES) > 0:
msg += "Inspire URL: http://inspire-hep.net/search?p=find+key+" + ana.spiresId() + "\n"
msg += "HepData URL: http://hepdata.cedar.ac.uk/view/irn" + ana.spiresId() + "\n"
if ana.year():
msg += "Year of publication: " + ana.year() + "\n"
if ana.bibKey():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment