1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 12:56:53 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
246847b8d5 Merge branch 'master' into add-auto-backend 2022-01-25 16:24:34 +01:00
d9309f5ab2 modify some tests to use TREXIO_AUTO back end 2022-01-25 15:00:55 +01:00
8947f6caa7 Merge branch 'master' into add-unsafe-open-mode 2022-01-24 18:25:52 +01:00
6ac4e0c761 add tests for the unsafe mode in the Python API 2022-01-24 16:29:40 +01:00
5e82e0fc57 add tests for trexio_info 2022-01-20 14:22:32 +01:00
e9db0c66d4 add tests 2022-01-19 14:08:38 +01:00
0cadb4ea0b add the tests for the top-level Python API of sparse data 2021-12-27 14:02:58 +01:00
c92cae947f [WIP] adapt the test of the low-level (pytrexio) API for sparse data 2021-12-24 11:51:06 +01:00
72897e4b5d [WIP] read/write of sparse data in Python 2021-12-23 18:27:24 +01:00
6cf6121f50 fix pytrexio test 2021-11-02 10:30:35 +01:00
7459589701 adapt the tests to use basis_shell_num 2021-10-21 15:52:12 +02:00
64b3e25da5 fix Python tests for basis_nucleus_index 2021-10-19 10:43:00 +02:00
67b00efa9c handle return error of trexio_open in the Python API 2021-09-22 16:40:55 +02:00
1589995775 do not use warnings for an attempt to overwrite in the Python API 2021-09-13 11:46:31 +02:00
2bd4ef9bfd add has_ functions to the Python API 2021-09-13 11:29:00 +02:00
77e3f1ac11 print UserWarning instead of raising Error for an attempt to overwrite data
following suggestion of Vijay G.C.
2021-09-12 14:24:50 +02:00
96678fea2e adapt write functions to receive multidimensional arrays or lists 2021-09-07 17:14:23 +02:00
ced8210ff0 BUG: trexio_open fails when test script is executed from outside the root test directory 2021-08-30 18:23:24 +03:00
5a2b4d96a7 reshape output arrays by default when reading from the file 2021-08-27 16:08:39 +03:00
7b5ebf6272 implement TREXIO File class and change import of pytrexio module 2021-08-26 17:01:53 +03:00
4c28a4cac8 add type converters for numerical arrays in read/write Python functions 2021-08-26 13:14:46 +03:00
2911e91941 make dim an optional argument in read_ functions
if dim is None - the function read all necessary dimensions from the TREXIO file
2021-08-24 12:51:43 +03:00
f30c6f60a6 document test_api file 2021-08-21 13:14:59 +03:00
5d5025ae1d get rid of _safe suffix and add dimension to read_dset_str functions 2021-08-20 13:43:15 +03:00
8d8658fabf minor cleaning + exception handling for an unsafe call to the safe API 2021-08-18 15:42:10 +03:00
cb1e83ca57 adapt tests to check both pytrexio and trexio_api modules 2021-08-18 13:40:27 +03:00
808adc7cd8 add typemaps and tests for numpy int arrays
+ some cleaning in the Python test and SWIG interface files
2021-08-06 14:04:29 +03:00
2854d617d4 make python directory and adapt build process 2021-08-05 12:55:18 +03:00