h2lib 13.1.202__cp311-cp311-win_amd64.whl → 13.1.301__cp311-cp311-win_amd64.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.
h2lib/HAWC2Lib.dll CHANGED
Binary file
h2lib/_h2lib.py CHANGED
@@ -46,6 +46,7 @@ class H2LibThread(H2LibSignatures, DLLWrapper):
46
46
 
47
47
  def close(self):
48
48
  if self._initialized:
49
+ self.write_output()
49
50
  self.finalize()
50
51
  DLLWrapper.close(self)
51
52
  return "closed h2lib"
h2lib/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is autogenerated and should not be modified manually
2
- __version__ = '13.1.202'
3
- h2lib_version = '13.1.202'
4
- hawc2_version = '13.1.2+5-g396f274'
2
+ __version__ = '13.1.301'
3
+ h2lib_version = '13.1.301'
4
+ hawc2_version = '13.1.3'
h2lib/h2lib_signatures.py CHANGED
@@ -6,7 +6,7 @@ from h2lib.dll_wrapper import DLLWrapper
6
6
  class H2LibSignatures():
7
7
  def add_sensor(self, sensor_line, index_start, index_stop):
8
8
  '''subroutine add_sensor(sensor_line, index_start, index_stop) bind(C, name="add_sensor")
9
- integer*8 :: index_start, index_stop
9
+ integer*8 :: index_start, index_stop, i
10
10
  character(kind=c_char, len=1), intent(in) :: sensor_line(1024)
11
11
  end subroutine'''
12
12
  return self.get_lib_function('add_sensor')(sensor_line, index_start, index_stop)
@@ -316,3 +316,9 @@ subroutine'''
316
316
  integer*8 :: N, work
317
317
  end function'''
318
318
  return self.get_lib_function('work')(time, restype=restype)
319
+
320
+ def write_output(self, ):
321
+ '''subroutine write_output() bind(C, name="write_output")
322
+ !DEC$ ATTRIBUTES DLLEXPORT :: write_output
323
+ end subroutine'''
324
+ return self.get_lib_function('write_output')()
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: h2lib
3
- Version: 13.1.202
4
- Summary: Python interface to HAWC2 (13.1.2+5-g396f274)
3
+ Version: 13.1.301
4
+ Summary: Python interface to HAWC2 (13.1.3)
5
5
  Download-URL:
6
6
  Author: Mads M. Pedersen, S.G.Horcas and N.G.Ramos
7
7
  Author-email: mmpe@dtu.dk
@@ -0,0 +1,10 @@
1
+ h2lib/HAWC2Lib.dll,sha256=KK2Xj9nyFbYtZrcgItLThAwytCGSSMJ8S4XRPzUwTJY,29877248
2
+ h2lib/__init__.py,sha256=f3fO4I6IEFRM9LaV2O3w9Pioj3GPI8qRl7P5Tg5ONtE,528
3
+ h2lib/_h2lib.py,sha256=RBwI5FPkepo05pFSg50Go6i_ye9hthgmgSCm8k6DEyg,14990
4
+ h2lib/_version.py,sha256=GD961NH9JmBqdNWSAXEfiEs_-_aS4Und_i32HTKs_js,146
5
+ h2lib/dll_wrapper.py,sha256=xQicDPnhK0Zgr3ifHX1peLJ6uwYZvXxLQAt9LIu45RY,11922
6
+ h2lib/h2lib_signatures.py,sha256=KO7HJzoy6GUXnkRt_VBbwa5_RVKZlLV1cKonHTMm2TQ,14732
7
+ h2lib-13.1.301.dist-info/METADATA,sha256=xJPs0b17Sr8ooYzZbXeK6IrGr-RbPUqqLu_OfFJoQC8,727
8
+ h2lib-13.1.301.dist-info/WHEEL,sha256=SXv4eJlzP0RNHYKzGRJ91eDhAFO0Eo2_AdrKMJ52XEE,101
9
+ h2lib-13.1.301.dist-info/top_level.txt,sha256=y_a-tUqphEZQ_0nsWSMaSb21P8Lsd8hUxUdE9g2Dcbk,6
10
+ h2lib-13.1.301.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (71.1.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-win_amd64
5
5
 
@@ -1,10 +0,0 @@
1
- h2lib/HAWC2Lib.dll,sha256=WJzn9JPUAbG4ZeY_pW4nn2csEnFk1Qw0DAvu3kcIWS0,29764608
2
- h2lib/__init__.py,sha256=f3fO4I6IEFRM9LaV2O3w9Pioj3GPI8qRl7P5Tg5ONtE,528
3
- h2lib/_h2lib.py,sha256=gSel22yAcJun6t9RFlVPxzY4XiezgXAHSX3tF6DPNp0,14957
4
- h2lib/_version.py,sha256=bnmBYJvZQilGmkE-_IK8sLMHWP_pB36L-A0ylIwxqZM,157
5
- h2lib/dll_wrapper.py,sha256=xQicDPnhK0Zgr3ifHX1peLJ6uwYZvXxLQAt9LIu45RY,11922
6
- h2lib/h2lib_signatures.py,sha256=uIcqvgVbm_L5C4jpHc9mBqz_6G5sLIk_6n2i-j1oA04,14500
7
- h2lib-13.1.202.dist-info/METADATA,sha256=VAPRGiGn2on164bOgBt-2LycHl5aTeGNYfrXqdAZlkM,738
8
- h2lib-13.1.202.dist-info/WHEEL,sha256=nSybvzWlmdJnHiUQSY-d7V1ycwEVUTqXiTvr2eshg44,102
9
- h2lib-13.1.202.dist-info/top_level.txt,sha256=y_a-tUqphEZQ_0nsWSMaSb21P8Lsd8hUxUdE9g2Dcbk,6
10
- h2lib-13.1.202.dist-info/RECORD,,