pyerrors/tests
Justus Kuhlmann 41fec09816
Impr/fix refactor sfcf read (#164)
* refactor read_sfcf

* adding tests for find_corr and read_compact_file

* add necessary broken data for tests

* fixed appended mode reading

* factored out sort_names and find_files

* now also using sort_files in sfcf.py

* edited tests to fit with new structure

* added find_files function

* shifted helpfunctions to bottom of file

* removed some debug lines

* linting

* Fixed requested changes, added silent mode

* added Exception if correlator is not found by read_append_rep

* use tmp_path fixture

* linting silent keyword

* try to fix testing for a_bb

* tests: Exception testing in test_find_corr made more explicit.

---------

Co-authored-by: Fabian Joswig <fabian.joswig@ed.ac.uk>
2023-03-15 17:46:12 +00:00
..
data Impr/fix refactor sfcf read (#164) 2023-03-15 17:46:12 +00:00
benchmark_test.py tests: tests cleaned up, name duplicate in obs_test corrected 2022-02-09 11:23:58 +00:00
correlators_test.py fix: Corr.symmetric can now deal with None entries. (#145) 2023-01-16 16:10:19 +00:00
covobs_test.py feat: computation of _covariance_element optimized, visualize option 2022-03-01 15:34:53 +00:00
dirac_test.py test: tests for epsilon tensors extended 2021-12-23 12:06:28 +01:00
fits_test.py fix: chisquare, dof and p-value also calculated when dof is 0. Test for 2023-03-09 15:32:27 +00:00
json_io_test.py dobs: Zeros are written if config is not part of the Obs, these are ignored on input 2023-02-02 15:31:46 +01:00
linalg_test.py feat: removed attribute is_merged. 2023-01-06 13:34:26 +01:00
misc_test.py tests: additional tests for generalization of misc.errorbar added. 2023-01-18 17:01:37 +00:00
mpm_test.py test: mpm and corr dump test extended 2021-12-23 14:56:49 +01:00
obs_test.py Improved prior fit (#161) 2023-03-07 16:15:16 +00:00
openQCD_in_test.py Impr/fix refactor sfcf read (#164) 2023-03-15 17:46:12 +00:00
pandas_test.py Serialize list of Obs in pandas.to_sql (#162) 2023-03-10 14:17:20 +00:00
roots_test.py test: test for multi parameter foot feature added. 2023-01-10 10:27:56 +00:00
sfcf_in_test.py Impr/fix refactor sfcf read (#164) 2023-03-15 17:46:12 +00:00
utils_in_test.py Impr/fix refactor sfcf read (#164) 2023-03-15 17:46:12 +00:00