sardana-nxsrecorder 3.23.0__py3-none-any.whl → 3.24.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sardana_nxsrecorder-3.23.0.dist-info → sardana_nxsrecorder-3.24.0.dist-info}/METADATA +2 -1
- sardana_nxsrecorder-3.24.0.dist-info/RECORD +6 -0
- sardananxsrecorder/__init__.py +1 -1
- sardananxsrecorder/nxsrecorder.py +12 -0
- sardana_nxsrecorder-3.23.0.dist-info/RECORD +0 -6
- {sardana_nxsrecorder-3.23.0.dist-info → sardana_nxsrecorder-3.24.0.dist-info}/WHEEL +0 -0
- {sardana_nxsrecorder-3.23.0.dist-info → sardana_nxsrecorder-3.24.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sardana-nxsrecorder
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.24.0
|
|
4
4
|
Summary: NeXus Sardana Scan Recorder
|
|
5
5
|
Home-page: https://github.com/nexdatas/sardana-nxs-filerecorder/
|
|
6
6
|
Author: Jan Kotanski
|
|
@@ -252,4 +252,5 @@ The NeXus file recorder uses the following sardana environment variables
|
|
|
252
252
|
* **ScicatMeasurements** *(dict)* - a dictionary of measurement names indexed by ``ScanDir`` and used by ``scingestor``, default: ``{}``
|
|
253
253
|
* **CreateMeasurementFile** *(bool)* - create a measurement file with its filename releated to ``ScicatMeasurements`` or ``ScanFile``, default: ``False``
|
|
254
254
|
* **NeXusSkipAcquisitionModes** *(list)* - a list of strategy modes for which acquisition is skip
|
|
255
|
+
* **NeXusWriterProperties** *(dict)* - a dictionary of TangoDataWriter (NXSDataWriter) properties (starting with a small letter)
|
|
255
256
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
sardananxsrecorder/__init__.py,sha256=hMiS-40RFpQGJHFLwDY7Sy0gsO6e8bykEjdo-YgNxmY,896
|
|
2
|
+
sardananxsrecorder/nxsrecorder.py,sha256=bVa7W85rxWLvHttxK5zaXZrZRvUka8ZCfHHmT65tbyE,57212
|
|
3
|
+
sardana_nxsrecorder-3.24.0.dist-info/METADATA,sha256=FonANvw1tfIiizSe_R104MF6D8Q5hJj03Y8dgi7035k,7883
|
|
4
|
+
sardana_nxsrecorder-3.24.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
5
|
+
sardana_nxsrecorder-3.24.0.dist-info/top_level.txt,sha256=YdD3m417i-jlYyQWgiizgZ8lQQcOjM8y-bmUHrGkfY4,19
|
|
6
|
+
sardana_nxsrecorder-3.24.0.dist-info/RECORD,,
|
sardananxsrecorder/__init__.py
CHANGED
|
@@ -543,6 +543,18 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
543
543
|
if self.__nexuswriter_device is None:
|
|
544
544
|
from nxswriter import TangoDataWriter
|
|
545
545
|
self.__nexuswriter_device = TangoDataWriter.TangoDataWriter()
|
|
546
|
+
try:
|
|
547
|
+
properties = dict(
|
|
548
|
+
self.__getEnvVar("NeXusWriterProperties", {}))
|
|
549
|
+
except Exception as e:
|
|
550
|
+
self.warning(
|
|
551
|
+
"Cannot load NeXusWriterProperties %s" % (str(e)))
|
|
552
|
+
self.__macro().warning(
|
|
553
|
+
"Cannot load NeXusWriterProperties %s" % (str(e)))
|
|
554
|
+
properties = {}
|
|
555
|
+
for ky, vl in properties.items():
|
|
556
|
+
if hasattr(self.__nexuswriter_device, ky):
|
|
557
|
+
setattr(self.__nexuswriter_device, ky, vl)
|
|
546
558
|
|
|
547
559
|
def __get_alias(self, name):
|
|
548
560
|
""" provides a device alias
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
sardananxsrecorder/__init__.py,sha256=O9h2gzx1FiXbkHFd9NliK_0e85u2JA-f9k6zTeVMkLI,896
|
|
2
|
-
sardananxsrecorder/nxsrecorder.py,sha256=EvZfHZQjjbJIrdwG45mDLmvNSyN1G-rdKCFKHY9lifI,56598
|
|
3
|
-
sardana_nxsrecorder-3.23.0.dist-info/METADATA,sha256=ub3XFGmi9fxleiiirGulzNeSSXvDAADqDkbhQCOyEQI,7754
|
|
4
|
-
sardana_nxsrecorder-3.23.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
5
|
-
sardana_nxsrecorder-3.23.0.dist-info/top_level.txt,sha256=YdD3m417i-jlYyQWgiizgZ8lQQcOjM8y-bmUHrGkfY4,19
|
|
6
|
-
sardana_nxsrecorder-3.23.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|