-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Right now, if someone snapshots with columns == 'all' while also using the collection structs (via something like the AutoJME tool), an error will occur because the struct cannot be written to a TTree. The block below should be added before here [1] to check for the struct and skip adding it to the snapshot.
[1] -
Line 1601 in e77e15d
| self.DataFrame.Snapshot(treename,outfilename,'',opts) |
columns_to_save = []
for c in a.GetColumnNames():
if c.split('_')[0] in a.GetCollectionNames():
continue
elif c.endswith('s') and c[:-1] in a.GetCollectionNames():
continue
else:
columns_to_save.append(c)
for c in a.GetCollectionNames():
columns_to_save.append(c+'_[^_].*')Metadata
Metadata
Assignees
Labels
No labels