Skip to content

Commit f398806

Browse files
committed
changelog updated; bdio buggy under python>3.9
1 parent adfad4a commit f398806

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

CHANGELOG

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ The format is based on `Keep a changelog <https://keepachangelog.com/en/1.0.0/>`
1010
Added
1111
* jackknife error support
1212
* exponential tail
13+
* remove class complex_observable and make main class observable compatible with complex values
1314

1415
Fixed
15-
* a
16-
* b
16+
* BDIO format has bug for python>=3.10
1717

1818

19-
[1.5.1] - xx.03.2024
19+
[1.5.1] - xx.11.2024
2020
++++++++++++++++++++
2121

2222
Added
23-
* support for complex observables via `complex_observable` class (binary operations `@`, `*`, unary operations `inv`, `eig`, `T`)
23+
* temporary support for complex observables via `complex_observable` class (binary operations `@`, `*`, unary operations `inv`, `eig`, `T`)
24+
* extended output for peek function
2425
Fixed
2526
* fixed bug in chiexp for combined fits
2627
* faster index search in transform.py for large observables

doc/pyobs/pyobs.rst

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ The class observable
33

44
.. autoclass:: pyobs.observable
55
:members:
6-

pyobs/IO/bdio.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ def write_bdio_header(self, protocol):
209209
hdr[2] = ((0 & int("0x3ff", 16)) << 22) | (0 & int("0x3fffff", 16))
210210
hdr[3] = time.time()
211211
hdr[4] = hdr[3]
212-
213212
self.reset_encoder()
214213
self.encode(hdr, dtypes.INT32)
215214
self.encode_str("".join(info))
@@ -469,7 +468,7 @@ def load(fname):
469468

470469
def save(fname, *args):
471470
f = bdio_file(fname, "w")
472-
f.write_bdio_header("prova1")
471+
f.write_bdio_header("bdio")
473472

474473
pyobs.assertion(len(args) > 1, "")
475474
f.write_record(args[0], 1)

0 commit comments

Comments
 (0)