<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi, 
<div class=""><br class="">
</div>
<div class="">Sorry for the multiple emails but either im doing something wrong while im comparing or something weird is going on. </div>
<div class="">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);" class="">ATLAS_2013_I1230812_MU</span></div>
<div class="">and in the .dat files the data histograms have this weird [0] which is causing the problems when make-plots is run</div>
<div class="">
<div class=""># BEGIN HISTO1D /ATLAS_2013_I1230812_MU/d05-x01-y03[0]</div>
<div class="">Path=/ATLAS_2013_I1230812_MU/d05-x01-y03[0]</div>
</div>
<div class="">thanks for taking a look! </div>
<div class=""><br class="">
</div>
<div class="">Cheers</div>
<div class="">Raghav<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 20, 2016, at 11:08 AM, Raghav Kunnawalkam Elayavalli <<a href="mailto:raghav.k.e@cern.ch" class="">raghav.k.e@cern.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Rivet experts, 
<div class=""><br class="">
</div>
<div class="">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 class="">/ATLAS_2012_I1093738/d01-x01-y01 when it was /ATLAS_2012_I1093738/d01-x01-y01/[0]</div>
<div class="">If i removed the [0] by hand then im able to make the comparison plots. </div>
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Cheers</div>
<div class="">Raghav</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Apr 19, 2016, at 3:30 PM, Raghav Kunnawalkam Elayavalli <<a href="mailto:raghav.k.e@cern.ch" class="">raghav.k.e@cern.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
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);" class="">ATLAS_2014_I1319490</span>
<div class="">
<div class="">
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  File "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/make-plots" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  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" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">ValueError: invalid literal for float(): 0$</span></div>
</div>
<div class="">Thanks for taking a look! </div>
<div class=""><br class="">
</div>
<div class="">Cheers</div>
<div class="">Raghav</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 19, 2016, at 3:25 PM, Raghav Kunnawalkam Elayavalli <<a href="mailto:raghav.k.e@cern.ch" class="">raghav.k.e@cern.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Rivet Experts, 
<div class=""><br class="">
</div>
<div class="">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 class="">this is the published analysis <span style="color: rgb(69, 69, 69);" class="">ATLAS_2012_I1093738 a</span>nd im comparing it with output from my MC. This is the chain of commands i followed: </div>
<div class="">$ rivet -a <span style="color: rgb(69, 69, 69);" class="">ATLAS_2012_I1093738 myMC.hepmc -H myMC.yoda </span></div>
<div class=""><span style="color: rgb(69, 69, 69);" class="">$ rivet-mkhtml myMC.yoda ATLAS_2012_I1093738.yoda </span></div>
<div class="">
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  File "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/make-plots" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  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" class="">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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    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);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">KeyError: '/ATLAS_2012_I1093738/d01-x01-y01'</span></div>
</div>
<div class=""><br class="">
</div>
<div class="">Im getting the same error when i run it on my local computer as well. Any ideas whats going on here? thanks! </div>
<div class=""><br class="">
</div>
<div class="">Cheers</div>
<div class="">Raghav</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>