Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost formatting seems to not work #67

Closed
sdevissc opened this issue Mar 14, 2016 · 2 comments
Closed

Boost formatting seems to not work #67

sdevissc opened this issue Mar 14, 2016 · 2 comments

Comments

@sdevissc
Copy link

Hi!

I did a pull of all latest changes in plotIt, which include the change of formatting of the luminosity-label. Then in my python config file I use now

luminosity-label: '%1$.2f fb^{-1} (13 TeV)'

as discussed in the related PR. But for some reason this is not understood by the boost parser: see for instance http://cp3.irmp.ucl.ac.be/~simon/plottest_postbugfix_SF_withSig/lljj_M_llCRbb_logy.png

I checked that the code changes related to the luminosity-label are present, and of course recompiled plotIt. Any idea about what is going wrong?

Best,

Simon

@blinkseb
Copy link
Member

That's very very strange. I tested on my side and it works as expected (and integration tests are also still working).

The only explanation is that you are still using the old code for the lumi parsing, but it'd be strange since you explicitly checked the new code is here ... Maybe some compilation errors? (as a quick check, you can try to add %lumi% anywhere in the string and see if it's replaced by the luminosity. If yes, you are indeed using the old code)

@sdevissc
Copy link
Author

Ok, problem solved, that was just a mistake from my side, sorry for trouble :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants