-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Check duplicate issues.
- Checked for duplicates
Description
Hi,
I am seeing a crash when I:
- Use the latest version of ROOT 0.1a10 from pip
- Import tensorflow before ROOT
- Pick files from EOS
Reproducer
import tensorflow
from ROOT import RDF, RDataFrame
import json
filename = "/eos/lhcb/wg/RD/RX_run3/tests/file.root"
df_gen = RDataFrame(100)
df_gen.Define("x", "gRandom->Rndm()").Snapshot("Events", filename)
spec = {
"samples": {
"MyAnalysisSample": {
"trees": ["Events"],
"files": [filename],
"metadata": {
"xsection": 45.0,
"luminosity": 10.0
}
}
}
}
with open("spec.json", "w") as f:
json.dump(spec, f, indent=4)
df= RDF.Experimental.FromSpec("spec.json")
df.Display().Print()ROOT version
0.1a10
Installation method
pip
Operating system
almalinux9
Additional context
No response