mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
only get dacnames if modules are attached (#550)
This commit is contained in:
@ -115,6 +115,11 @@ class Detector(CppDetectorApi):
|
||||
fname = ut.make_string_path(fname)
|
||||
self.loadConfig(fname)
|
||||
|
||||
#create a new object to replace the old, allow us to
|
||||
#do a new initialization of dacs etc.
|
||||
new_object = self.__class__(self.getShmId())
|
||||
self.__dict__.update(new_object.__dict__)
|
||||
|
||||
@property
|
||||
def parameters(self):
|
||||
"""Sets detector measurement parameters to those contained in fname.
|
||||
|
Reference in New Issue
Block a user