[Rivet] issue with mkhtml complaining about ReadError

Raghav Kunnawalkam Elayavalli raghav.k.e at cern.ch
Wed Jun 29 16:09:56 BST 2016


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<mailto: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<mailto: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<http://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<http://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<http://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<mailto: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/d2c706b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yoda_error.rtf
Type: text/rtf
Size: 3743 bytes
Desc: yoda_error.rtf
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20160629/d2c706b5/attachment.bin>


More information about the Rivet mailing list