|
[HepData-svn] r1631 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pagesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue May 28 10:16:07 BST 2013
Author: whalley Date: Tue May 28 10:16:07 2013 New Revision: 1631 Log: - changing name of jhepwork to ScaVis Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/DoiData.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/DoiData.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/DoiData.java Tue May 28 10:15:55 2013 (r1630) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/DoiData.java Tue May 28 10:16:07 2013 (r1631) @@ -37,7 +37,7 @@ parseBaseViewContext(context); // Handle pattern parsing separately - Pattern patt = Pattern.compile("\\A" + "(short|long|full|plain.txt|yoda|aida|pyroot.py|root|mpl|bdms|hepml|jhepwork.py|input)" + "\\Z", + Pattern patt = Pattern.compile("\\A" + "(short|long|full|plain.txt|yoda|aida|pyroot.py|root|mpl|bdms|hepml|scavis.py|input)" + "\\Z", Pattern.CASE_INSENSITIVE); Pattern patt2 = Pattern.compile("\\A" + "(irn\\d+)" + "\\Z",Pattern.CASE_INSENSITIVE); String stype = "i"; @@ -58,7 +58,7 @@ // Now handle the special formats (after parsing *all* context elements) String fmt = getQueryParam("format"); if (fmt != null) { - if (fmt.equals("jhepwork.py")) return asJhepwork(); + if (fmt.equals("scavis.py")) return asJhepwork(); if (fmt.equals("hepml")) return asHepML(); if (fmt.equals("bdms")) return asBDMS(); if (fmt.equals("input")) return asINPUT(); @@ -92,7 +92,7 @@ /////////////////////////////////////////////// // public Object getJhepworkContext() { - return formatContext("jhepwork.py"); + return formatContext("scavis.py"); } public StreamResponse asJhepwork() { Set<Dataset> ds = getDatasets();
More information about the HepData-svn mailing list |