Closed abhijitm08 closed 1 year ago
Hi @abhijitm08 and thanks for opening the issue! Could you provide a sample ROOT File so I can reproduce this? Thanks!
@AlbertoPdRF Thank you for the quick response. The ROOT file is at the CERN box. I just noticed that the CERN box ROOT viewer has the same behaviour as VS code browser.
When I do: tree->Draw("Branch1")
, I get:
When I open TBrowser t
, I get:
In VS code and the CERN box ROOT viewer I get:
I can also replicate the issue online in https://jsroot.gsi.de/latest/api.htm#url_syntax_open_file, so I'm CC'ing @linev.
Yes, NaN
values where not handled correctly with TTree::Draw.
Now fixed in dev
and 7.4
branch.
Yes,
NaN
values where not handled correctly with TTree::Draw. Now fixed indev
and7.4
branch.
Thank you for the reply. Would be awesome if this gets fixed in the new release of root-file-viewer
.
Now available with https://github.com/root-project/jsroot/releases/tag/7.4.2 release
Awesome @linev! I'll publish a release with JSROOT v7.4.2 soon 🚀
When a
TBranch
has a value ofNan
stored (due to failing fits, etc), VS code does not display the branch at all.To get around this one has to apply a cut
TRUEPT != TMath::QuiteNan()
.I believe this is not an issue when plotting with plain ROOT TBrowser but when displaying within VS code.
Would appreciate it if this could be fixed.