Skip to content

Commit 1b14def

Browse files
author
Martin Foll
committed
Enable generating batches from RNTuple
1 parent 4d27b1e commit 1b14def

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

bindings/pyroot/pythonizations/python/ROOT/_pythonization/_tmva/_batchgenerator.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ def __init__(
162162

163163
self.noded_rdf = RDF.AsRNode(rdataframe)
164164

165-
if ROOT.Internal.RDF.GetDataSourceLabel(self.noded_rdf) != "TTreeDS":
166-
raise ValueError(
167-
"RNode object must be created out of TTrees or files of TTree"
168-
)
169-
170165
if isinstance(target, str):
171166
target = [target]
172167

0 commit comments

Comments
 (0)