|
[HepData-svn] r1756 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pagesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Feb 27 13:27:59 GMT 2014
Author: whalley Date: Thu Feb 27 13:27:59 2014 New Revision: 1756 Log: fix to make cds workm in PlotImage Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java Thu Feb 27 12:58:04 2014 (r1755) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java Thu Feb 27 13:27:59 2014 (r1756) @@ -52,7 +52,7 @@ if (context.getCount() > 0) { String ps = context.get(String.class, 0); - Matcher m = Pattern.compile("\\Ahepdata-(p|irn|ins|red)(\\d+)-d(\\d+)-x(lin|log)?(\\d+)-y(lin|log)?([-\\d]+)(_\\d*)?\\.(pdf|png)\\Z").matcher(ps); + Matcher m = Pattern.compile("\\Ahepdata-(p|irn|ins|cds|red)(\\d+)-d(\\d+)-x(lin|log)?(\\d+)-y(lin|log)?([-\\d]+)(_\\d*)?\\.(pdf|png)\\Z").matcher(ps); if (m.matches()) { // Paper _params.put(m.group(1), m.group(2));
More information about the HepData-svn mailing list |