nxswriter 3.10.0__py3-none-any.whl → 3.11.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.
- nxswriter/Release.py +1 -1
- nxswriter/TangoDataWriter.py +15 -1
- {nxswriter-3.10.0.dist-info → nxswriter-3.11.0.dist-info}/METADATA +1 -4
- {nxswriter-3.10.0.dist-info → nxswriter-3.11.0.dist-info}/RECORD +8 -8
- {nxswriter-3.10.0.dist-info → nxswriter-3.11.0.dist-info}/WHEEL +1 -1
- {nxswriter-3.10.0.data → nxswriter-3.11.0.data}/scripts/NXSDataWriter +0 -0
- {nxswriter-3.10.0.data → nxswriter-3.11.0.data}/scripts/nxsfromxml +0 -0
- {nxswriter-3.10.0.dist-info → nxswriter-3.11.0.dist-info}/top_level.txt +0 -0
nxswriter/Release.py
CHANGED
nxswriter/TangoDataWriter.py
CHANGED
|
@@ -58,7 +58,14 @@ try:
|
|
|
58
58
|
WRITERS["h5cpp"] = H5CppWriter
|
|
59
59
|
except Exception:
|
|
60
60
|
pass
|
|
61
|
-
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
try:
|
|
64
|
+
from nxstools import h5rediswriter as H5RedisWriter
|
|
65
|
+
WRITERS["h5redis"] = H5RedisWriter
|
|
66
|
+
except Exception:
|
|
67
|
+
pass
|
|
68
|
+
DEFAULTWRITERS = ["h5cpp", "h5py", "h5redis"]
|
|
62
69
|
|
|
63
70
|
|
|
64
71
|
#: (:obj:`bool`) tango bug #213 flag related to EncodedAttributes in python3
|
|
@@ -545,6 +552,9 @@ class TangoDataWriter(object):
|
|
|
545
552
|
self.__nextfile()
|
|
546
553
|
elif "swmr" in self.__pars.keys() and self.__pars["swmr"]:
|
|
547
554
|
self.__nxFile.reopen(readonly=False, **self.__pars)
|
|
555
|
+
if self.__nxFile and hasattr(self.__nxFile, "prepare"):
|
|
556
|
+
# print("START")
|
|
557
|
+
self.__nxFile.prepare()
|
|
548
558
|
|
|
549
559
|
def __nextfile(self):
|
|
550
560
|
self.__nxFile.close()
|
|
@@ -625,6 +635,10 @@ class TangoDataWriter(object):
|
|
|
625
635
|
|
|
626
636
|
if self.__nxFile and hasattr(self.__nxFile, "flush"):
|
|
627
637
|
self.__nxFile.flush()
|
|
638
|
+
if self.__nxFile and hasattr(self.__nxFile, "start") and \
|
|
639
|
+
self.__datasources.counter == 1:
|
|
640
|
+
# print("START")
|
|
641
|
+
self.__nxFile.start()
|
|
628
642
|
if self.stepsperfile > 0:
|
|
629
643
|
if (self.__datasources.counter) % self.stepsperfile == 0:
|
|
630
644
|
self.__nextfile()
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: nxswriter
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.11.0
|
|
4
4
|
Summary: Nexus Data writer implemented as a Tango Server
|
|
5
5
|
Home-page: https://github.com/nexdatas/nxsdatawriter
|
|
6
6
|
Author: Jan Kotanski, Eugen Wintersberger , Halil Pasic
|
|
7
7
|
Author-email: jankotan@gmail.com, eugen.wintersberger@gmail.com, halil.pasic@gmail.com
|
|
8
8
|
License: GNU GENERAL PUBLIC LICENSE v3
|
|
9
9
|
Keywords: writer Tango server nexus data
|
|
10
|
-
Platform: UNKNOWN
|
|
11
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
11
|
Classifier: Intended Audience :: Science/Research
|
|
13
12
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
@@ -276,5 +275,3 @@ In order to build the XML configurations in the easy way the authors of the serv
|
|
|
276
275
|
for this purpose a specialized GUI tool, Component Designer.
|
|
277
276
|
The attached to the server XML examples
|
|
278
277
|
was created by XMLFile class defined in XMLCreator/simpleXML.py.
|
|
279
|
-
|
|
280
|
-
|
|
@@ -22,16 +22,16 @@ nxswriter/NXSFromXML.py,sha256=932BivWZnf-3tnIkbpSRFwfGV0PTwcT9pYb2FMmVd_4,9077
|
|
|
22
22
|
nxswriter/NXSWriter.py,sha256=raHykC9mpUXU8pPtsqePuz3CI-24qYjIUSoyux2zCgo,31345
|
|
23
23
|
nxswriter/NexusXMLHandler.py,sha256=QxSB6Nwi-6ZWR0SxTOojfcF99kN4MBRVNIGKeN7p2Ug,13841
|
|
24
24
|
nxswriter/PyEvalSource.py,sha256=7-7Gc2_3CGd3XMHD3LBPCBOZx4Q6b1guzt1xgrSLxMs,11234
|
|
25
|
-
nxswriter/Release.py,sha256=
|
|
25
|
+
nxswriter/Release.py,sha256=pRkK0tel-Z8yip3dJlNrR_2EoQ2NmWOFWWiQQKpIZN0,900
|
|
26
26
|
nxswriter/StreamSet.py,sha256=sSvXJxoDufmt9_Xu5rFaQsp_4x9gww_zMv0NTiiyLlg,5799
|
|
27
|
-
nxswriter/TangoDataWriter.py,sha256=
|
|
27
|
+
nxswriter/TangoDataWriter.py,sha256=Q17L8mh-MJYQDlix7XXqmNdHqbNIhpDBGMsK7Hf7m84,28235
|
|
28
28
|
nxswriter/TangoSource.py,sha256=jiFGUsoX2N5-i2gpBqkHi2KjmTBd46TI22Cjkt_2btw,29410
|
|
29
29
|
nxswriter/ThreadPool.py,sha256=TKvOStVUUyuyHowk0MRaBM4GmRKtl0VPVVPdFHu332M,6039
|
|
30
30
|
nxswriter/Types.py,sha256=CY_qw5-pbbDutRErgA6hbUTh903QA_IXc-CGSfuBje8,7676
|
|
31
31
|
nxswriter/__init__.py,sha256=M0w3HGjZgfdqjMdQNaLcq5jazqQeRekx84YSbQCA8-0,1760
|
|
32
|
-
nxswriter-3.
|
|
33
|
-
nxswriter-3.
|
|
34
|
-
nxswriter-3.
|
|
35
|
-
nxswriter-3.
|
|
36
|
-
nxswriter-3.
|
|
37
|
-
nxswriter-3.
|
|
32
|
+
nxswriter-3.11.0.data/scripts/NXSDataWriter,sha256=wO3opCCjYttfrY7CITNXHvirXv5W6rIQTY7vX5PmioI,905
|
|
33
|
+
nxswriter-3.11.0.data/scripts/nxsfromxml,sha256=qxnJUtV_ueA3lGnne8ltaOF6yF5YtmzeFLIl3NWkAq8,61
|
|
34
|
+
nxswriter-3.11.0.dist-info/METADATA,sha256=FSvUT2CFLNGn6SCUFi9uyLiXYel2rzRbYR-HZNwDoU0,8856
|
|
35
|
+
nxswriter-3.11.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
36
|
+
nxswriter-3.11.0.dist-info/top_level.txt,sha256=29dYcOYN2MVz1NKpwobc4Zl4yjhd4VB62LDSuSy7x0Y,10
|
|
37
|
+
nxswriter-3.11.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|