We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ac039 commit b449b13Copy full SHA for b449b13
src/pybdsim/DataPandas.py
@@ -58,8 +58,11 @@ def __init__(self, filepath):
58
self.e = self.root_file.GetEvent()
59
self.et.GetEntry(0)
60
self.sampler_names = list(self.root_file.GetSamplerNames())
61
- self.csampler_names = list(self.root_file.GetSamplerCNames())
62
- self.ssampler_names = list(self.root_file.GetSamplerSNames())
+ try : # TODO needs to be removed when or guarded against with BDSIM version mismatch
+ self.csampler_names = list(self.root_file.GetSamplerCNames())
63
+ self.ssampler_names = list(self.root_file.GetSamplerSNames())
64
+ except :
65
+ pass
66
67
self.mt = self.root_file.GetModelTree()
68
self.m = self.root_file.GetModel()
0 commit comments