[Rivet] [Rivet-svn] r2362 - trunk/bin

Frank Siegert frank.siegert at durham.ac.uk
Thu Mar 25 13:39:30 GMT 2010


Hi Andy,

Thanks for fixing this, one shouldn't change things last-minute before a 
commit ;-)
Does this work properly now, or should I debug it further?

Thanks,
Frank

blackhole at projects.hepforge.org, Thursday 25 March 2010:
> Author: buckley
> Date: Thu Mar 25 13:33:16 2010
> New Revision: 2362
> 
> Log:
> Fixing extraction of expt name in data label to remove the leading
>  slash from the AIDA path if present
> 
> Modified:
>    trunk/bin/compare-histos
> 
> Modified: trunk/bin/compare-histos
> =======================================================================
> ======= --- trunk/bin/compare-histos	Thu Mar 25 13:32:47 2010	(r2361)
> +++ trunk/bin/compare-histos	Thu Mar 25 13:33:16 2010	(r2362)
> @@ -332,7 +332,10 @@
>              if HISTOS[hfile][name].isdata:
>                  histstr += "ErrorBars=1\n"
>                  histstr += "PolyMarker=*\n"
> -                histstr += "Title=%s data\n" %
>  HISTOS[hfile][name].histoPath().split("_")[0] +                expname
>  = HISTOS[hfile][name].histoPath().split("_")[0] +                if
>  expname.startswith("/"):
> +                    expname = expname[1:]
> +                histstr += "Title=%s data\n" % expname
>              else:
>                  color, style = STYLES[i % len(STYLES)]
>                  if opts.MC_ERRS:
> _______________________________________________
> Rivet-svn mailing list
> Rivet-svn at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet-svn
> 


More information about the Rivet mailing list