|
c520175cbe
|
use size_max values provided by the read_size functions
|
2021-12-03 11:48:51 +01:00 |
|
|
d2c95cd306
|
add functions to read the number of stored sparse elements
|
2021-12-02 17:28:37 +01:00 |
|
|
c30c3a532c
|
add Fortran interface for sparse data
|
2021-12-01 13:35:42 +01:00 |
|
|
83c926fd6b
|
replace offset_data arg with pointer arithmetics
|
2021-12-01 09:56:31 +01:00 |
|
|
d3ba8f3652
|
[WIP] working generator for sparse functions
+ remove trailing whitespaces
|
2021-11-30 16:30:36 +01:00 |
|
|
c1e1176400
|
[WIP] text back end
|
2021-11-24 17:44:54 +01:00 |
|
|
527417cd8f
|
fix type conversion for 32-bit indices
|
2021-11-18 14:33:18 +01:00 |
|
|
954ee4216c
|
add trexio_has_backend function to the C and Fortran APIs
|
2021-11-02 11:05:27 +01:00 |
|
|
7f3ee3cc18
|
reset back end values and add TREXIO_BACK_END_MISSING error
|
2021-11-02 10:32:00 +01:00 |
|
|
5504bc0fe6
|
wrap TREXIO_INVALID_BACK_END definition in preprocessor macro
|
2021-11-01 13:22:46 +01:00 |
|
|
d42dc7f449
|
optional HDF5 compilation
via configure script and pre-processor macros
|
2021-11-01 11:55:34 +01:00 |
|
|
d017306706
|
Better error handling with open in text back end
|
2021-10-13 16:13:24 +02:00 |
|
|
fb9c95bd61
|
add version attributes to the Fortran module
|
2021-10-08 13:55:56 +02:00 |
|
|
947a8a12f8
|
Fix bug due to PACKAGE_VERSION definition in trexio.h
|
2021-10-07 09:54:19 +02:00 |
|
|
2e2dac3982
|
modify rc_open only if it is not a NULL pointer
|
2021-09-24 12:23:59 +02:00 |
|
|
67b00efa9c
|
handle return error of trexio_open in the Python API
|
2021-09-22 16:40:55 +02:00 |
|
|
9457a826d2
|
return error code from trexio_open [C, Fortran]
|
2021-09-22 14:50:22 +02:00 |
|
|
14472cda48
|
better error handling in case of invalid dimensioning variable
|
2021-09-22 11:33:27 +02:00 |
|
|
d1a9af4185
|
remove blank spaces in front of pointers
|
2021-09-21 15:54:11 +02:00 |
|
|
d5405e700c
|
raise TREXIO_INVALID_ARG_2 also when writing zero as dimensioning variable
|
2021-09-21 14:35:29 +02:00 |
|
|
6459543afd
|
better front end documentation for numerical attributes
|
2021-09-21 10:58:07 +02:00 |
|
|
11a17c65d3
|
add attr_ prefix to the template file name for numerical attributes
|
2021-09-21 10:41:37 +02:00 |
|
|
c22e9d2925
|
put back sanity check that dimensioning variables are positive
|
2021-09-20 17:00:05 +02:00 |
|
|
261e7c8b84
|
modify front end for more general numerical attributes
|
2021-09-20 13:16:44 +02:00 |
|
|
d04106f72d
|
max_str_len should be int32_t to properly check for negative values
|
2021-09-13 13:35:45 +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 |
|
|
d060808467
|
do not reveal paths to trexio (security concerns)
|
2021-09-12 13:36:24 +02:00 |
|
|
12dd1fd8dc
|
apply some suggestions from cppcheck
|
2021-09-12 13:25:03 +02:00 |
|
|
40d5fc31fc
|
check that the data object exists before reading it from the file
|
2021-09-10 09:38:26 +02:00 |
|
|
67e59f156c
|
explicitly provide __version__ attribute of the trexio module
|
2021-09-08 19:28:18 +02:00 |
|
|
96678fea2e
|
adapt write functions to receive multidimensional arrays or lists
|
2021-09-07 17:14:23 +02:00 |
|
|
3e82fd9ae8
|
FIX: a bug that was leading to Python and valgrind errors
|
2021-08-31 12:11:22 +03:00 |
|
|
74c69bb293
|
better Exception handling with custom exception class
|
2021-08-30 18:04:35 +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 |
|
|
1dcd32ef7d
|
add SWIG typemaps for safe API calls in single and double precision
|
2021-08-25 13:31:17 +03:00 |
|
|
ed7e3902e2
|
add memory-safe functions in single or double precision
|
2021-08-24 13:32:01 +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 |
|
|
6f7c23aa11
|
add missing annotations
|
2021-08-21 13:13:55 +03:00 |
|
|
4fe86ee980
|
add Python docstrings for API functions
+ move definition of Fortran and Python back ends from Constant Prefixes to Back Ends section
|
2021-08-21 12:47:36 +03:00 |
|
|
5d5025ae1d
|
get rid of _safe suffix and add dimension to read_dset_str functions
|
2021-08-20 13:43:15 +03:00 |
|
|
831973fc8e
|
better python compilation
|
2021-08-18 16:28:43 +03:00 |
|
|
902147b45b
|
better structure of the python directory
|
2021-08-18 15:40:42 +03:00 |
|
|
9cc552409f
|
rename the front-end Python module
|
2021-08-18 13:30:03 +03:00 |
|
|
f0bccee32d
|
single top-level import of pytrexio resolves bug with caching
|
2021-08-18 13:28:37 +03:00 |
|
|
0b223b9d6e
|
return type cast of exit codes and back ends in C
add top-level string_of_error function in Python
|
2021-08-14 12:27:11 +03:00 |
|
|
721352cb89
|
add missing support for reading single string attributes
|
2021-08-11 16:01:36 +03:00 |
|