[Rivet] issue with mkhtml complaining about ReadError

Chris Pollard chris.pollard at cern.ch
Wed Jun 29 16:15:42 BST 2016


Hi Raghav,

I don't have this problem with yoda v1.6.0. Do you mind reinstalling the
latest version of yoda and seeing if it works? I'll let Andy chime in, but
I don't think there are big differences between your version of yoda and
mine, so performing a clean install of 1.5.9 may also do the trick.

Chris

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

> Hi Chris,
>
> I currently have v1.5.9 installed. Ive attached a file which has the first
> histogram d01-x01-y01 in both the analysis.yoda (data) and mc.yoda (what i
> get after running rivet -a analysis test.hepmc)
> Please let me know if you need anything else to debug the issue.
>
> Cheers
> Raghav
>
> On Jun 29, 2016, at 4:51 PM, Chris Pollard <chris.pollard at cern.ch> wrote:
>
> 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/3950e414/attachment.html>


More information about the Rivet mailing list