sardana-nxsrecorder 3.17.0__tar.gz → 3.17.2__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.
Files changed (40) hide show
  1. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/ChangeLog +8 -0
  2. {sardana-nxsrecorder-3.17.0/sardana_nxsrecorder.egg-info → sardana-nxsrecorder-3.17.2}/PKG-INFO +1 -1
  3. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2/sardana_nxsrecorder.egg-info}/PKG-INFO +1 -1
  4. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/sardananxsrecorder/__init__.py +1 -1
  5. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/sardananxsrecorder/nxsrecorder.py +9 -7
  6. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/debian10_py2/Dockerfile +0 -0
  7. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/debian10_py3/Dockerfile +0 -0
  8. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/debian8_py2/Dockerfile +0 -0
  9. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/debian8_py3/Dockerfile +0 -0
  10. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/debian9_py2/Dockerfile +0 -0
  11. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/debian9_py3/Dockerfile +0 -0
  12. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/install.sh +0 -0
  13. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/run.sh +0 -0
  14. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/ubuntu16.04_py2/Dockerfile +0 -0
  15. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/ubuntu16.04_py3/Dockerfile +0 -0
  16. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/ubuntu18.04_py2/Dockerfile +0 -0
  17. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/ubuntu18.04_py3/Dockerfile +0 -0
  18. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.ci/ubuntu20.04_py3/Dockerfile +0 -0
  19. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.flake8 +0 -0
  20. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.github/workflows/tests.yml +0 -0
  21. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/.gitignore +0 -0
  22. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/COPYRIGHT +0 -0
  23. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/MANIFEST.in +0 -0
  24. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/README.rst +0 -0
  25. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/doc/Makefile +0 -0
  26. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/doc/conf.py +0 -0
  27. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/doc/index.rst +0 -0
  28. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/doc/make.bat +0 -0
  29. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/doc/sardananxsrecorder.rst +0 -0
  30. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/man/sardananxsrecorder.1 +0 -0
  31. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/sardana_nxsrecorder.egg-info/SOURCES.txt +0 -0
  32. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/sardana_nxsrecorder.egg-info/dependency_links.txt +0 -0
  33. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/sardana_nxsrecorder.egg-info/not-zip-safe +0 -0
  34. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/sardana_nxsrecorder.egg-info/requires.txt +0 -0
  35. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/sardana_nxsrecorder.egg-info/top_level.txt +0 -0
  36. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/setup.cfg +0 -0
  37. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/setup.py +0 -0
  38. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/test/__init__.py +0 -0
  39. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/test/__main__.py +0 -0
  40. {sardana-nxsrecorder-3.17.0 → sardana-nxsrecorder-3.17.2}/test/main.py +0 -0
@@ -1,3 +1,11 @@
1
+ 2023-12-13 Jan Kotanski <jankotan@gmail.com>
2
+ * reduce a number of error messages for wrong user data (#86)
3
+ * tagged as 3.17.2
4
+
5
+ 2023-12-12 Jan Kotanski <jankotan@gmail.com>
6
+ * fix typo in in printing error message (#85)
7
+ * tagged as 3.17.1
8
+
1
9
  2023-12-12 Jan Kotanski <jankotan@gmail.com>
2
10
  * add support for user data units and other attributes (#85)
3
11
  * tagged as 3.17.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: sardana-nxsrecorder
3
- Version: 3.17.0
3
+ Version: 3.17.2
4
4
  Summary: NeXus Sardana Scan Recorder
5
5
  Home-page: https://github.com/nexdatas/sardana-nxs-filerecorder/
6
6
  Author: Jan Kotanski
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: sardana-nxsrecorder
3
- Version: 3.17.0
3
+ Version: 3.17.2
4
4
  Summary: NeXus Sardana Scan Recorder
5
5
  Home-page: https://github.com/nexdatas/sardana-nxs-filerecorder/
6
6
  Author: Jan Kotanski
@@ -20,4 +20,4 @@
20
20
  """ Sardana Scan Recorders """
21
21
 
22
22
  #: package version
23
- __version__ = "3.17.0"
23
+ __version__ = "3.17.2"
@@ -1011,13 +1011,14 @@ class NXS_FileRecorder(BaseFileRecorder):
1011
1011
  if not isinstance(self.__udata, dict):
1012
1012
  if 'MetadataScript' in self.__env.keys():
1013
1013
  msf = self.__env['MetadataScript']
1014
- elif 'FioAdditions' in self.__env.keys():
1015
- msf = self.__env['FioAdditions']
1014
+ # elif 'FioAdditions' in self.__env.keys():
1015
+ # msf = self.__env['FioAdditions']
1016
1016
  if msf:
1017
1017
  if not os.path.exists(msf):
1018
1018
  self.warning("NXS_FileRecorder: %s does not exist" % msf)
1019
- self.macro().warning(
1020
- "NXS_FileRecorder: %s does not exist" % msf)
1019
+ if self.__macro:
1020
+ self.__macro().warning(
1021
+ "NXS_FileRecorder: %s does not exist" % msf)
1021
1022
  else:
1022
1023
  import imp
1023
1024
  msm = imp.load_source('', msf)
@@ -1025,9 +1026,10 @@ class NXS_FileRecorder(BaseFileRecorder):
1025
1026
  if not isinstance(ms, dict):
1026
1027
  self.warning(
1027
1028
  "NXS_FileRecorder: bad output from %s" % msf)
1028
- self.macro().warning(
1029
- "NXS_FileRecorder: bad output from %s" % msf)
1030
- self.__udata = None
1029
+ if self.__macro:
1030
+ self.__macro().warning(
1031
+ "NXS_FileRecorder: bad output from %s" % msf)
1032
+ self.__udata = {}
1031
1033
  else:
1032
1034
  self.__udata = ms
1033
1035
  if isinstance(self.__udata, dict) and isinstance(ms, dict):