<div dir="ltr">Hi Raghav,<div><br></div><div>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.</div><div><br></div><div>Chris</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 29, 2016 at 11:09 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>
<div style="word-wrap:break-word">Hi Chris, 
<div><br>
<div>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)</div>
<div>Please let me know if you need anything else to debug the issue. </div>
<div> </div>
</div>
</div>
<div style="word-wrap:break-word">
<div>
<div></div>
<div>Cheers</div><span class="HOEnZb"><font color="#888888">
</font></span><div><span class="HOEnZb"><font color="#888888">Raghav</font></span><div><div class="h5"><br>
<div>
<blockquote type="cite">
<div>On Jun 29, 2016, at 4:51 PM, Chris Pollard <<a href="mailto:chris.pollard@cern.ch" target="_blank">chris.pollard@cern.ch</a>> wrote:</div>
<br>
<div>
<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><br>
<div>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 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>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</div>
</div>
</div>

</blockquote></div><br></div>