TQFolder copyFolder segFault
When trying to copy an instance of TQFolder to another location with TQFolder::copyFolder(...)
, I see a segmentation fault. The equivalent call of TQFolder::moveFolder(...)
works fine. See example below (executed on the attached sample folder from the HWW analysis, produced in the analyze.py
step). CAFCore commit: 132e073b.
Working command sequence:
from QFramework import TQSampleFolder, TQFolder
sf = TQSampleFolder.loadSampleFolder("samples-analyzed-ggf-Rel21Val.root:samples")
sf.printContents()
sf.printContents("r1")
sf.moveFolder("info", "bkg")
sf.printContents("r1")
Failing command sequence:
from QFramework import TQSampleFolder, TQFolder
sf = TQSampleFolder.loadSampleFolder("samples-analyzed-ggf-Rel21Val.root:samples")
sf.printContents()
sf.printContents("r1")
sf.copyFolder("info", "bkg")