[Rivet] issue with mkhtml complaining about ReadError

Chris Pollard cpollard at cern.ch
Wed Jun 29 15:51:47 BST 2016


Hi Raghav,

It looks like the .yoda file(s) you have don't conform to the file format.
Can you tell us which version of yoda you are using and give us an example
file?

Cheers,

Chris

On Wed, Jun 29, 2016 at 10:44 AM, Raghav Kunnawalkam Elayavalli <
raghav.k.e at cern.ch> wrote:

> Hi Rivet Experts,
>
> I have an analysis with its corresponding yoda file with the data points
> for reference
> say analysis.cc and analysis.yoda. Now i compile it and run it with my MC
> and when i do
> rivet-mkhtml mc.yoda  , I get a weird error
>
> [rkunnawa at lxplus008 YpJet]$ rivet-mkhtml mc.yoda
> Errors from rivet-cmphistos
> Traceback (most recent call last):
>   File "/afs/cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos",
> line 318, in <module>
>     refhistos2 = getRivetRefData()
>   File "/afs/cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos",
> line 147, in getRivetRefData
>     analysisobjects = yoda.read(infile, patterns=opts.PATHPATTERNS,
> unpatterns=opts.PATHUNPATTERNS)
>   File "yoda/include/IO.pyx", line 109, in yoda.core.read
> (yoda/core.cpp:75237)
> yoda.ReadError: Unexpected line in YODA format parsing when BEGIN
> expected: '4.000000e+01 5.000000e+01 0.9676752 0.0564941 0.0564941' on
> line 9
>
> I dont have this particular line it points to in both my mc.yoda and
> analysis.yoda!
> So i dont know what might cause this. any ideas?
>
> thanks!
> Cheers
> Raghav
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20160629/f2b9e2d0/attachment.html>


More information about the Rivet mailing list