sardana-nxsrecorder 3.24.0__tar.gz → 3.26.0__tar.gz
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.24.0 → sardana-nxsrecorder-3.26.0}/ChangeLog +8 -0
- {sardana-nxsrecorder-3.24.0/sardana_nxsrecorder.egg-info → sardana-nxsrecorder-3.26.0}/PKG-INFO +3 -2
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/README.rst +2 -1
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/man/sardananxsrecorder.1 +6 -2
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0/sardana_nxsrecorder.egg-info}/PKG-INFO +3 -2
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardananxsrecorder/__init__.py +1 -1
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardananxsrecorder/nxsrecorder.py +57 -33
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/debian10_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/debian10_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/debian8_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/debian8_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/debian9_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/debian9_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/install.sh +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/run.sh +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/ubuntu16.04_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/ubuntu16.04_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/ubuntu18.04_py2/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/ubuntu18.04_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.ci/ubuntu20.04_py3/Dockerfile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.flake8 +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.github/workflows/tests.yml +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/.gitignore +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/COPYRIGHT +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/MANIFEST.in +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/doc/Makefile +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/doc/conf.py +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/doc/index.rst +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/doc/make.bat +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/doc/sardananxsrecorder.rst +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/SOURCES.txt +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/dependency_links.txt +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/not-zip-safe +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/requires.txt +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/top_level.txt +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/setup.cfg +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/setup.py +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/test/__init__.py +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/test/__main__.py +0 -0
- {sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/test/main.py +0 -0
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
2024-06-19 Jan Kotanski <jankotan@gmail.com>
|
|
2
|
+
* replace NeXusSkipAcquisitionModes by NeXusWriterModes variable (#127)
|
|
3
|
+
* tagged as 3.26.0
|
|
4
|
+
|
|
5
|
+
2024-06-07 Jan Kotanski <jankotan@gmail.com>
|
|
6
|
+
* set NeXusMeshScanID variable (#124)
|
|
7
|
+
* tagged as 3.25.0
|
|
8
|
+
|
|
1
9
|
2024-06-06 Jan Kotanski <jankotan@gmail.com>
|
|
2
10
|
* set TangoDataWriter properties from NeXusWriterProperties variable (#121)
|
|
3
11
|
* tagged as 3.24.0
|
{sardana-nxsrecorder-3.24.0/sardana_nxsrecorder.egg-info → sardana-nxsrecorder-3.26.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sardana-nxsrecorder
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.26.0
|
|
4
4
|
Summary: NeXus Sardana Scan Recorder
|
|
5
5
|
Home-page: https://github.com/nexdatas/sardana-nxs-filerecorder/
|
|
6
6
|
Author: Jan Kotanski
|
|
@@ -249,6 +249,7 @@ The NeXus file recorder uses the following sardana environment variables
|
|
|
249
249
|
* **MetadataScript** *(str)* - a python module file name containing ``main()`` which provides a dictionary with user metadata stored in the INIT mode, default: ``""``
|
|
250
250
|
* **ScicatMeasurements** *(dict)* - a dictionary of measurement names indexed by ``ScanDir`` and used by ``scingestor``, default: ``{}``
|
|
251
251
|
* **CreateMeasurementFile** *(bool)* - create a measurement file with its filename releated to ``ScicatMeasurements`` or ``ScanFile``, default: ``False``
|
|
252
|
-
* **NeXusSkipAcquisitionModes** *(list)* - a list of strategy modes for which acquisition is skip
|
|
253
252
|
* **NeXusWriterProperties** *(dict)* - a dictionary of TangoDataWriter (NXSDataWriter) properties (starting with a small letter)
|
|
253
|
+
* **NeXusMeshScanID** *(int)* - ScanID used for composed scans e.g. mesh scan combined from many linear scans
|
|
254
|
+
* **NeXusWriterModes** *(list)* - a list of strategy modes e.g. ``NOINIT``, ``NOSTEP``, ``NOFINAL``, ``MESH``, ``VDS`` separated by commas
|
|
254
255
|
|
|
@@ -224,6 +224,7 @@ The NeXus file recorder uses the following sardana environment variables
|
|
|
224
224
|
* **MetadataScript** *(str)* - a python module file name containing ``main()`` which provides a dictionary with user metadata stored in the INIT mode, default: ``""``
|
|
225
225
|
* **ScicatMeasurements** *(dict)* - a dictionary of measurement names indexed by ``ScanDir`` and used by ``scingestor``, default: ``{}``
|
|
226
226
|
* **CreateMeasurementFile** *(bool)* - create a measurement file with its filename releated to ``ScicatMeasurements`` or ``ScanFile``, default: ``False``
|
|
227
|
-
* **NeXusSkipAcquisitionModes** *(list)* - a list of strategy modes for which acquisition is skip
|
|
228
227
|
* **NeXusWriterProperties** *(dict)* - a dictionary of TangoDataWriter (NXSDataWriter) properties (starting with a small letter)
|
|
228
|
+
* **NeXusMeshScanID** *(int)* - ScanID used for composed scans e.g. mesh scan combined from many linear scans
|
|
229
|
+
* **NeXusWriterModes** *(list)* - a list of strategy modes e.g. ``NOINIT``, ``NOSTEP``, ``NOFINAL``, ``MESH``, ``VDS`` separated by commas
|
|
229
230
|
|
|
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
27
27
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
28
28
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
29
29
|
..
|
|
30
|
-
.TH "SARDANANXSRECORDER" "1" "Jun
|
|
30
|
+
.TH "SARDANANXSRECORDER" "1" "Jun 11, 2024" "3.26" "Sardana NeXus Recorder"
|
|
31
31
|
.SH NAME
|
|
32
32
|
sardananxsrecorder \- sardananxsrecorder Documentation
|
|
33
33
|
.sp
|
|
@@ -354,7 +354,11 @@ The NeXus file recorder uses the following sardana environment variables
|
|
|
354
354
|
.IP \(bu 2
|
|
355
355
|
\fBCreateMeasurementFile\fP \fI(bool)\fP \- create a measurement file with its filename releated to \fBScicatMeasurements\fP or \fBScanFile\fP, default: \fBFalse\fP
|
|
356
356
|
.IP \(bu 2
|
|
357
|
-
\
|
|
357
|
+
\fBNeXusWriterProperties\fP \fI(dict)\fP \- a dictionary of TangoDataWriter (NXSDataWriter) properties (starting with a small letter)
|
|
358
|
+
.IP \(bu 2
|
|
359
|
+
\fBNeXusMeshScanID\fP \fI(int)\fP \- ScanID used for composed scans e.g. mesh scan combined from many linear scans
|
|
360
|
+
.IP \(bu 2
|
|
361
|
+
\fBNeXusWriterModes\fP \fI(list)\fP \- a list of strategy modes e.g. \fBNOINIT\fP, \fBNOSTEP\fP, \fBNOFINAL\fP, \fBMESH\fP, \fBVDS\fP separated by commas
|
|
358
362
|
.UNINDENT
|
|
359
363
|
.sp
|
|
360
364
|
Contents:
|
{sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0/sardana_nxsrecorder.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sardana-nxsrecorder
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.26.0
|
|
4
4
|
Summary: NeXus Sardana Scan Recorder
|
|
5
5
|
Home-page: https://github.com/nexdatas/sardana-nxs-filerecorder/
|
|
6
6
|
Author: Jan Kotanski
|
|
@@ -249,6 +249,7 @@ The NeXus file recorder uses the following sardana environment variables
|
|
|
249
249
|
* **MetadataScript** *(str)* - a python module file name containing ``main()`` which provides a dictionary with user metadata stored in the INIT mode, default: ``""``
|
|
250
250
|
* **ScicatMeasurements** *(dict)* - a dictionary of measurement names indexed by ``ScanDir`` and used by ``scingestor``, default: ``{}``
|
|
251
251
|
* **CreateMeasurementFile** *(bool)* - create a measurement file with its filename releated to ``ScicatMeasurements`` or ``ScanFile``, default: ``False``
|
|
252
|
-
* **NeXusSkipAcquisitionModes** *(list)* - a list of strategy modes for which acquisition is skip
|
|
253
252
|
* **NeXusWriterProperties** *(dict)* - a dictionary of TangoDataWriter (NXSDataWriter) properties (starting with a small letter)
|
|
253
|
+
* **NeXusMeshScanID** *(int)* - ScanID used for composed scans e.g. mesh scan combined from many linear scans
|
|
254
|
+
* **NeXusWriterModes** *(list)* - a list of strategy modes e.g. ``NOINIT``, ``NOSTEP``, ``NOFINAL``, ``MESH``, ``VDS`` separated by commas
|
|
254
255
|
|
|
@@ -152,11 +152,15 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
152
152
|
#: (:obj:`str`) module lable
|
|
153
153
|
self.__moduleLabel = 'module'
|
|
154
154
|
|
|
155
|
+
#: (:obj:`int`) serialno
|
|
156
|
+
self.__serial = 0
|
|
157
|
+
|
|
155
158
|
#: (:obj:`dict` <:obj:`str` , :obj:`str`>) NeXus configuration
|
|
156
159
|
self.__conf = {}
|
|
157
160
|
|
|
158
|
-
#: (:obj:`list` <:obj:`str`>)
|
|
159
|
-
self.
|
|
161
|
+
#: (:obj:`list` <:obj:`str`>) acquisition Modes
|
|
162
|
+
self.writerModes = self.__variableList(
|
|
163
|
+
"NeXusWriterModes")
|
|
160
164
|
|
|
161
165
|
#: (:obj:`dict` <:obj:`str` , `any`>) User data
|
|
162
166
|
self.__udata = None
|
|
@@ -172,6 +176,26 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
172
176
|
self.__setFileName(
|
|
173
177
|
self.__base_filename, not appendentry, scanID)
|
|
174
178
|
|
|
179
|
+
def _serial(self, scanID):
|
|
180
|
+
serial = None
|
|
181
|
+
if "NOINIT" in self.writerModes and \
|
|
182
|
+
"MESH" in self.writerModes:
|
|
183
|
+
if self.__macro:
|
|
184
|
+
serial = self.__macro().getEnv('NeXusMeshScanID', None)
|
|
185
|
+
if serial is None:
|
|
186
|
+
if scanID is None:
|
|
187
|
+
serial = self.recordlist.getEnvironValue('serialno')
|
|
188
|
+
elif scanID >= 0:
|
|
189
|
+
if isarver >= 304 or isarver == 0:
|
|
190
|
+
serial = scanID
|
|
191
|
+
else:
|
|
192
|
+
serial = scanID + 1
|
|
193
|
+
if "MESH" in self.writerModes and \
|
|
194
|
+
"NOINIT" not in self.writerModes:
|
|
195
|
+
if self.__macro:
|
|
196
|
+
self.__macro().setEnv('NeXusMeshScanID', serial)
|
|
197
|
+
return serial
|
|
198
|
+
|
|
175
199
|
def __command(self, server, command, *args):
|
|
176
200
|
""" execute tango server (or python object) command
|
|
177
201
|
|
|
@@ -378,27 +402,22 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
378
402
|
|
|
379
403
|
subs = (len([None for _ in list(re.finditer('%', filename))]) == 1)
|
|
380
404
|
# construct the filename, e.g. : /dir/subdir/etcdir/prefix_00123.nxs
|
|
381
|
-
|
|
382
|
-
serial = self.recordlist.getEnvironValue('serialno')
|
|
383
|
-
elif scanID >= 0:
|
|
384
|
-
if isarver >= 304 or isarver == 0:
|
|
385
|
-
serial = scanID
|
|
386
|
-
else:
|
|
387
|
-
serial = scanID + 1
|
|
405
|
+
self.__serial = self._serial(scanID)
|
|
388
406
|
|
|
389
407
|
if subs:
|
|
390
408
|
try:
|
|
391
409
|
#: output file name
|
|
392
|
-
self.filename = filename %
|
|
410
|
+
self.filename = filename % self.__serial
|
|
393
411
|
except Exception:
|
|
394
412
|
subs = False
|
|
395
413
|
if not self.__raw_filename:
|
|
396
|
-
self.__raw_filename = self.__rawfilename(
|
|
414
|
+
self.__raw_filename = self.__rawfilename(self.__serial)
|
|
397
415
|
self.debug('Raw Filename: %s' % str(self.__raw_filename))
|
|
398
416
|
if not subs and self.__raw_filename and \
|
|
399
417
|
"{ScanID" in self.__raw_filename:
|
|
400
418
|
try:
|
|
401
|
-
self.filename = self.__raw_filename.format(
|
|
419
|
+
self.filename = self.__raw_filename.format(
|
|
420
|
+
ScanID=self.__serial)
|
|
402
421
|
subs = True
|
|
403
422
|
except Exception:
|
|
404
423
|
pass
|
|
@@ -409,10 +428,12 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
409
428
|
filename[-4].rpartition(".")[0] and \
|
|
410
429
|
filename[-4].rpartition(".")[2] in self.formats.keys():
|
|
411
430
|
tpl = filename[-4].rpartition(".")
|
|
412
|
-
self.filename = "%s_%05d.%s.tmp" % (
|
|
431
|
+
self.filename = "%s_%05d.%s.tmp" % (
|
|
432
|
+
tpl[0], self.__serial, tpl[2])
|
|
413
433
|
else:
|
|
414
434
|
tpl = filename.rpartition('.')
|
|
415
|
-
self.filename = "%s_%05d.%s" % (
|
|
435
|
+
self.filename = "%s_%05d.%s" % (
|
|
436
|
+
tpl[0], self.__serial, tpl[2])
|
|
416
437
|
else:
|
|
417
438
|
self.filename = filename
|
|
418
439
|
|
|
@@ -990,9 +1011,11 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
990
1011
|
appendscanid = not self.__setFileName(
|
|
991
1012
|
self.__base_filename, not appendentry)
|
|
992
1013
|
envRec = self.recordlist.getEnviron()
|
|
993
|
-
self.__vars["vars"]["serialno"] = ("_%05i" %
|
|
1014
|
+
self.__vars["vars"]["serialno"] = ("_%05i" % self.__serial) \
|
|
994
1015
|
if appendscanid else ""
|
|
995
1016
|
self.__vars["vars"]["scan_id"] = envRec["serialno"]
|
|
1017
|
+
self.__vars["vars"]["acq_modes"] = \
|
|
1018
|
+
",".join(self.writerModes or [])
|
|
996
1019
|
self.__vars["vars"]["scan_title"] = envRec["title"]
|
|
997
1020
|
if self.__macro:
|
|
998
1021
|
if hasattr(self.__macro(), "integ_time"):
|
|
@@ -1014,7 +1037,7 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1014
1037
|
# self.debug('XML: %s' % str(cnfxml))
|
|
1015
1038
|
self.__removeDynamicComponent()
|
|
1016
1039
|
|
|
1017
|
-
self.__vars["data"]["serialno"] =
|
|
1040
|
+
self.__vars["data"]["serialno"] = self.__serial
|
|
1018
1041
|
self.__vars["data"]["scan_title"] = envRec["title"]
|
|
1019
1042
|
if self.__macro:
|
|
1020
1043
|
if hasattr(self.__macro(), "integ_time"):
|
|
@@ -1035,8 +1058,9 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1035
1058
|
# self.debug('START_DATA: %s' % str(envRec))
|
|
1036
1059
|
|
|
1037
1060
|
self.__nexuswriter_device.jsonrecord = rec
|
|
1038
|
-
self.
|
|
1039
|
-
|
|
1061
|
+
self.writerModes = self.__variableList(
|
|
1062
|
+
"NeXusWriterModes")
|
|
1063
|
+
if "NOINIT" in self.writerModes:
|
|
1040
1064
|
self.__nexuswriter_device.skipAcquisition = True
|
|
1041
1065
|
|
|
1042
1066
|
self.__command(self.__nexuswriter_device, "openEntry")
|
|
@@ -1125,7 +1149,7 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1125
1149
|
rec = json.dumps(
|
|
1126
1150
|
envrecord, cls=NXS_FileRecorder.numpyEncoder)
|
|
1127
1151
|
self.__nexuswriter_device.jsonrecord = rec
|
|
1128
|
-
if "
|
|
1152
|
+
if "NOSTEP" in self.writerModes:
|
|
1129
1153
|
self.__nexuswriter_device.skipAcquisition = True
|
|
1130
1154
|
|
|
1131
1155
|
# self.debug('DATA: {"data":%s}' % json.dumps(
|
|
@@ -1195,7 +1219,7 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1195
1219
|
rec = json.dumps(
|
|
1196
1220
|
envrecord, cls=NXS_FileRecorder.numpyEncoder)
|
|
1197
1221
|
self.__nexuswriter_device.jsonrecord = rec
|
|
1198
|
-
if "
|
|
1222
|
+
if "NOFINAL" in self.writerModes:
|
|
1199
1223
|
self.__nexuswriter_device.skipAcquisition = True
|
|
1200
1224
|
self.__command(self.__nexuswriter_device, "closeEntry")
|
|
1201
1225
|
self.__command(self.__nexuswriter_device, "closeFile")
|
|
@@ -1243,18 +1267,18 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1243
1267
|
beamtimeid = self.beamtime_id(bmtfpath, bmtfprefix, bmtfext)
|
|
1244
1268
|
return beamtimeid or "00000000"
|
|
1245
1269
|
|
|
1246
|
-
def
|
|
1247
|
-
"""
|
|
1270
|
+
def __variableList(self, variable='NeXusWriterModes'):
|
|
1271
|
+
""" read variable list
|
|
1248
1272
|
"""
|
|
1249
1273
|
try:
|
|
1250
|
-
|
|
1274
|
+
msvar = self.__macro().getEnv(variable)
|
|
1251
1275
|
except Exception:
|
|
1252
|
-
|
|
1253
|
-
if isinstance(
|
|
1254
|
-
|
|
1255
|
-
if
|
|
1256
|
-
self.debug('
|
|
1257
|
-
return
|
|
1276
|
+
msvar = []
|
|
1277
|
+
if isinstance(msvar, str):
|
|
1278
|
+
msvar = re.split(r"[-;,.\s]\s*", msvar)
|
|
1279
|
+
if msvar:
|
|
1280
|
+
self.debug('%s: %s' % (variable, str(msvar)))
|
|
1281
|
+
return msvar
|
|
1258
1282
|
|
|
1259
1283
|
def __rawfilename(self, serial):
|
|
1260
1284
|
""" find scan name
|
|
@@ -1310,7 +1334,7 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1310
1334
|
def __appendSciCatDataset(self, hostname=None):
|
|
1311
1335
|
""" append dataset to SciCat ingestion list """
|
|
1312
1336
|
|
|
1313
|
-
sid = self.
|
|
1337
|
+
sid = self.__serial
|
|
1314
1338
|
fdir, fname = os.path.split(self.filename)
|
|
1315
1339
|
sname, fext = os.path.splitext(fname)
|
|
1316
1340
|
beamtimeid = self.beamtimeid()
|
|
@@ -1342,10 +1366,10 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1342
1366
|
if appendentry is True and \
|
|
1343
1367
|
'%' not in self.__raw_filename and \
|
|
1344
1368
|
"{ScanID" not in self.__raw_filename:
|
|
1345
|
-
sid = self.
|
|
1369
|
+
sid = self.__serial
|
|
1346
1370
|
sname = "%s::/%s_%05i;%s_%05i" % (
|
|
1347
1371
|
scanname, entryname, sid, scanname, sid)
|
|
1348
|
-
if "
|
|
1372
|
+
if "NOINIT" in self.writerModes:
|
|
1349
1373
|
sname = "%s:%s" % (sname, time.time())
|
|
1350
1374
|
|
|
1351
1375
|
# auto grouping
|
|
@@ -1381,7 +1405,7 @@ class NXS_FileRecorder(BaseFileRecorder):
|
|
|
1381
1405
|
def __createMeasurementFile(self):
|
|
1382
1406
|
""" create measurement file """
|
|
1383
1407
|
|
|
1384
|
-
sid = self.
|
|
1408
|
+
sid = self.__serial
|
|
1385
1409
|
fdir, fname = os.path.split(self.filename)
|
|
1386
1410
|
sname, fext = os.path.splitext(fname)
|
|
1387
1411
|
# beamtimeid = self.beamtimeid()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/requires.txt
RENAMED
|
File without changes
|
{sardana-nxsrecorder-3.24.0 → sardana-nxsrecorder-3.26.0}/sardana_nxsrecorder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|