<div dir="ltr">Hi Raghav,<div><br></div><div>Can you tell us which version of rivet you are using? This looks like you might be using the Rivet-3.0alpha. I don't think you should be getting the [0]s in any full release.</div><div><br></div><div>Chris</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 1:16 PM, 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,
<div><br>
</div>
<div>Sorry for the multiple emails but either im doing something wrong while im comparing or something weird is going on. </div>
<div>I just remade the comparison again to <span style="color:rgb(217,209,173);font-family:Monaco;font-size:10px;background-color:rgb(0,0,0)">ATLAS_2013_I1230812_MU</span></div>
<div>and in the .dat files the data histograms have this weird [0] which is causing the problems when make-plots is run</div>
<div>
<div># BEGIN HISTO1D /ATLAS_2013_I1230812_MU/d05-x01-y03[0]</div>
<div>Path=/ATLAS_2013_I1230812_MU/d05-x01-y03[0]</div>
</div>
<div>thanks for taking a look! </div>
<div><br>
</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 Apr 20, 2016, at 11:08 AM, Raghav Kunnawalkam Elayavalli <<a href="mailto:raghav.k.e@cern.ch" target="_blank">raghav.k.e@cern.ch</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Hi Rivet experts,
<div><br>
</div>
<div>I found out why ATLAS_2012_I1093738 was causing a problem when doing my comparisons. in the .dat files generated when doing compare histos command, this histogram location had a spurious [0] after the name, for example it should be </div>
<div>/ATLAS_2012_I1093738/d01-x01-y01 when it was /ATLAS_2012_I1093738/d01-x01-y01/[0]</div>
<div>If i removed the [0] by hand then im able to make the comparison plots. </div>
<div><br>
</div>
<div>Im however not able to understand the error for the comparison with ATLAS_2014_I1319490 thought. the .dat files look fine and i cant see anything weird. </div>
<div><br>
</div>
<div>Cheers</div>
<div>Raghav</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Apr 19, 2016, at 3:30 PM, Raghav Kunnawalkam Elayavalli <<a href="mailto:raghav.k.e@cern.ch" target="_blank">raghav.k.e@cern.ch</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Im also having a similar issue when i compare with <span style="color:rgb(217,209,173);font-family:Monaco;font-size:10px;background-color:rgb(0,0,0)">ATLAS_2014_I1319490</span>
<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@lxplus047 Validation]$ rivet-mkhtml myMC.yoda ATLAS_2014_I1319490.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>Making 34 plots</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/make-plots" target="_blank">cern.ch/work/r/rkunnawa/JEWEL/local/bin/make-plots</a>", line 2607, 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> for i, _ in enumerate(pool.imap(process_datfile, datfiles)):</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 "/cvmfs/<a href="http://sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/multiprocessing/pool.py" target="_blank">sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/multiprocessing/pool.py</a>",
line 668, in next</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> raise value</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>ValueError: invalid literal for float(): 0$</span></div>
</div>
<div>Thanks for taking a look! </div>
<div><br>
</div>
<div>Cheers</div>
<div>Raghav</div>
<div><br>
<blockquote type="cite">
<div>On Apr 19, 2016, at 3:25 PM, Raghav Kunnawalkam Elayavalli <<a href="mailto:raghav.k.e@cern.ch" target="_blank">raghav.k.e@cern.ch</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Hi Rivet Experts,
<div><br>
</div>
<div>Im getting a python error when comparing to a published analysis and it seems to be from make-plots. (rivet-cmphistos works fine). </div>
<div>this is the published analysis <span style="color:rgb(69,69,69)">ATLAS_2012_I1093738 a</span>nd im comparing it with output from my MC. This is the chain of commands i followed: </div>
<div>$ rivet -a <span style="color:rgb(69,69,69)">ATLAS_2012_I1093738 myMC.hepmc -H myMC.yoda </span></div>
<div><span style="color:rgb(69,69,69)">$ rivet-mkhtml myMC.yoda ATLAS_2012_I1093738.yoda </span></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>Making 6 plots</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/make-plots" target="_blank">cern.ch/work/r/rkunnawa/JEWEL/local/bin/make-plots</a>", line 2607, 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> for i, _ in enumerate(pool.imap(process_datfile, datfiles)):</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 "/cvmfs/<a href="http://sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/multiprocessing/pool.py" target="_blank">sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/multiprocessing/pool.py</a>",
line 668, in next</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> raise value</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>KeyError: '/ATLAS_2012_I1093738/d01-x01-y01'</span></div>
</div>
<div><br>
</div>
<div>Im getting the same error when i run it on my local computer as well. Any ideas whats going on here? thanks! </div>
<div><br>
</div>
<div>Cheers</div>
<div>Raghav</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</div>
<br>_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org">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>