<div dir="ltr">Hi Raghav,<div><br></div><div>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?<br><br>Cheers,</div><div><br></div><div>Chris</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 29, 2016 at 10:44 AM, Raghav Kunnawalkam Elayavalli <span dir="ltr"><<a href="mailto:raghav.k.e@cern.ch" target="_blank">raghav.k.e@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Rivet Experts, 
<div><br>
</div>
<div>I have an analysis with its corresponding yoda file with the data points for reference </div>
<div>say <a href="http://analysis.cc" target="_blank">analysis.cc</a> and analysis.yoda. Now i compile it and run it with my MC and when i do </div>
<div>rivet-mkhtml mc.yoda  , I get a weird error</div>
<div> </div>
<div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>[rkunnawa@lxplus008 YpJet]$ rivet-mkhtml mc.yoda</span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>Errors from rivet-cmphistos</span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>Traceback (most recent call last):</span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>  File "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" target="_blank">cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a>", line 318, in <module></span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>    refhistos2 = getRivetRefData()</span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>  File "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" target="_blank">cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a>", line 147, in getRivetRefData</span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>    analysisobjects = yoda.read(infile, patterns=opts.PATHPATTERNS, unpatterns=opts.PATHUNPATTERNS)</span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>  File "yoda/include/IO.pyx", line 109, in yoda.core.read (yoda/core.cpp:75237)</span></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(217,209,173);background-color:rgb(0,0,0)">
<span>yoda.ReadError: Unexpected line in YODA format parsing when BEGIN expected: '4.000000e+01<span style="white-space:pre-wrap">
</span>5.000000e+01<span style="white-space:pre-wrap"> </span>0.9676752<span style="white-space:pre-wrap">
</span>0.0564941<span style="white-space:pre-wrap"> </span>0.0564941' on line 9</span></div>
</div>
<div><br>
</div>
<div>I dont have this particular line it points to in both my mc.yoda and analysis.yoda! </div>
<div>So i dont know what might cause this. any ideas? </div>
<div><br>
</div>
<div>thanks! </div>
<div>Cheers</div><span><font color="#888888">
<div>Raghav</div>
</font></span></div>

<br>_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists/listinfo/rivet</a><br></blockquote></div><br></div></div>