From da56b51044ea5c75aa5dcd149be653579ca2bdd7 Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Mon, 27 May 2024 15:42:04 +0200 Subject: [PATCH] dynamic components for all motors when WritePoolMotorPositions --- ChangeLog | 4 ++++ nxsrecconfig/ProfileManager.py | 3 ++- nxsrecconfig/Release.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 620d19e..6393dbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-01-25 Jan Kotanski + * dynamic components for all motors when WritePoolMotorPositions (#123) + * tagged as v3.40.0 + 2024-01-25 Jan Kotanski * change default user_data type to NXparameters (#123) * tagged as v3.39.0 diff --git a/nxsrecconfig/ProfileManager.py b/nxsrecconfig/ProfileManager.py index 958d82f..dfc4930 100644 --- a/nxsrecconfig/ProfileManager.py +++ b/nxsrecconfig/ProfileManager.py @@ -507,7 +507,8 @@ def __addPreselectedComponents(self, components): if cp in jpcps.keys() and jpcps[cp] is False: jpcps[cp] = None for ds in fdss: - snpds[ds] = True + if ds not in poolds: + snpds[ds] = True for ds, val in snpds.items(): if val is not True: jpdss[ds] = None diff --git a/nxsrecconfig/Release.py b/nxsrecconfig/Release.py index 619646b..7aa0c2b 100644 --- a/nxsrecconfig/Release.py +++ b/nxsrecconfig/Release.py @@ -20,4 +20,4 @@ """ NeXus Sardana Recorder Settings - Release """ #: (:obj:`str`) package version -__version__ = "3.39.0" +__version__ = "3.40.0"