mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-05-14 08:45:35 +02:00
fix dac default names and test for dacs
This commit is contained in:
@@ -49,7 +49,7 @@ class NamedDacs:
|
||||
|
||||
#only get the dacnames if we have modules attached
|
||||
if detector.size() == 0:
|
||||
self._dacnames = [f"dac{i}" for i in range(18)]
|
||||
self._dacnames = [f"DAC{i}" for i in range(18)]
|
||||
else:
|
||||
self._dacnames = [n.replace(" ", "") for n in detector.getDacNames()]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user