Commit graph

22 commits

Author SHA1 Message Date
Fabian Joswig
7568275d5d refactor: io tests split up in several files 2022-02-09 14:05:44 +00:00
Simon Kuberski
25d00de5ce More tests for openQCD-2.0 2022-02-09 14:13:04 +01:00
Simon Kuberski
570c6abf2a Yet another small change to openQCD. Added explicit tests for reweighting. 2022-02-09 14:08:05 +01:00
Simon Kuberski
0dc4d4008a Introduced JSON I/O for dictionaries 2022-02-03 10:33:24 +01:00
Fabian Joswig
1d41a664ee tests: tests for reconstruction of prange from json format added 2022-01-28 12:41:55 +00:00
Fabian Joswig
6c99e05e5b test: test of json output of a correlator with a gap added 2022-01-27 14:12:10 +00:00
Fabian Joswig
01c3d02394 tests: tests of json corr format extended 2022-01-27 14:07:27 +00:00
Fabian Joswig
c8ec5909f1 fix: io tests for corr now properly clean up 2022-01-19 10:46:33 +00:00
Fabian Joswig
9b52a9a615 feat!: dump methods now export to the json.gz format by default. Pickle
format can be chosen via parameter.
2022-01-19 10:43:18 +00:00
Fabian Joswig
d778a3b238 feat!: merged the parameters padding_front and padding_back of Corr into
one parameter padding
2022-01-18 14:50:18 +00:00
Fabian Joswig
f282ecdaf6 feat: json import export for correlator class implemented, tests added 2022-01-18 12:13:20 +00:00
Simon Kuberski
a21554841e Added tests for json 2021-12-14 16:31:33 +01:00
Simon Kuberski
5338982060 Allow Obs in json format to be pure Covobs, i.e., to have empty deltas 2021-12-14 16:27:05 +01:00
Simon Kuberski
b7bc508dcf Added covobs to json file format 2021-12-14 15:47:14 +01:00
Fabian Joswig
f7e64b2d38 test: json io test extended 2021-12-10 10:43:52 +00:00
Fabian Joswig
2ce73fb3f2 fix: import_json_string now correctly reconstructs obs from string, test
added
2021-12-10 10:37:50 +00:00
Fabian Joswig
ca303c93e9 test: tests for json io extended 2021-12-09 15:59:53 +00:00
Simon Kuberski
e5cd5c4a99 Adjusted handling of tags: All are written, if any is None; Removed unused parameter fname from create_json_string; Created a fail-save version for the replacement of quotation marks in workaround for delta lists 2021-12-01 11:53:11 +01:00
Simon Kuberski
d740f8d3c4 utf-8 for plain json files and a bugfix for reading arrays 2021-11-30 16:26:46 +01:00
Simon Kuberski
5937a519d7 Added dictionary output of json input routine: It is possible to import and export any structure that is JSON serializable as description (or Obs.tag) 2021-11-30 14:50:16 +01:00
Simon Kuberski
d7c2f125fe Created routine to get jsonstring itself, allowed for the I/O of uncompressed files, fixed bug for 1d-Arrays 2021-11-30 14:28:07 +01:00
Simon Kuberski
63dd627e20 First implemenation of a json I/O 2021-11-29 15:27:28 +01:00