36e85039d5
make file names consistent with the C test
2021-06-08 14:39:04 +02:00
f2c5a3a51b
add max_str_len argument to read/write a single string
2021-06-08 10:45:43 +02:00
231fe479e7
inline with master branch
2021-06-07 11:01:37 +02:00
1ce1872916
fix missing things after merge
2021-06-04 18:42:35 +02:00
ea9ffaea43
Fix fortran tests
2021-06-04 18:14:45 +02:00
d57f2004ba
Merge branch 'master' into add-strings
2021-06-04 18:09:26 +02:00
31bf17c66a
Merge branch 'master' into evgeny
2021-06-04 17:30:51 +02:00
34478e366a
resolve front end
2021-06-04 17:28:56 +02:00
5b1cf03aaf
[WIP] add has/read/write functions for string attributes [front,hdf5]
2021-06-04 15:33:50 +02:00
3ce9c57376
safer strncpy in the front end
2021-06-04 09:18:59 +02:00
4fceb6624d
fix error handling in write_group_dset
2021-06-03 17:33:31 +02:00
52e636f610
fix error handling in read_group_dset
2021-06-03 17:32:50 +02:00
40e9aa9234
introduce max_str_len parameter
2021-06-03 16:13:11 +02:00
ed1393f5de
Merge branch 'automake' of github.com:TREX-CoE/trexio into automake
2021-06-03 13:56:49 +02:00
75af136d4f
Moved sparse documentation in src/templates_front/templator_front.org
2021-06-03 13:56:45 +02:00
aa4251b943
read_group_dset can operate on char* directly instead of char**
2021-06-03 13:41:43 +02:00
d2bc25ef03
less allocations in the front end
2021-06-03 13:39:02 +02:00
40bfc581ee
use newline char as a delimeter
2021-06-03 10:26:19 +02:00
5043d058bd
Merge branch 'automake' of github.com:TREX-CoE/trexio into automake
2021-06-03 09:57:57 +02:00
a5ae1d239b
Improve HDF5 in configure
2021-06-03 01:25:20 +02:00
693f8d3846
fix file reopening for writing new variables
2021-06-02 20:19:39 +02:00
7a9d078859
remove append mode
2021-06-02 14:40:23 +02:00
0b5136f14c
add error handling for an attempt to overwrite something
2021-06-02 14:23:58 +02:00
8aa4721758
Documentation
2021-06-02 11:19:03 +02:00
196224c63b
use newline character as a delimeter for array of strings
2021-06-01 18:12:15 +02:00
0f444074c9
better error handling [front]
2021-06-01 16:45:13 +02:00
6979c84c38
parse char* strings and convert them to char** for back ends
2021-06-01 14:58:16 +02:00
f45fee6cbf
explicit types for strings [HDF5]
2021-06-01 10:41:00 +02:00
753c767ce2
first working prototype for string datasets [HDF5]
2021-05-31 16:42:11 +02:00
edfe8817d1
[WIP] temporarily disable calls to text back end
2021-05-31 16:40:25 +02:00
b5a6987758
first prototype of read/write string datasets
2021-05-31 13:26:52 +02:00
c18b75a11d
explicit string type in front end templates
2021-05-28 17:53:26 +02:00
8b580fee4a
Automake done. Need to improve tests
2021-05-28 13:36:39 +02:00
42f81b2cc6
prepare templates and files for datasets with strings [all]
2021-05-27 15:14:01 +02:00
70531b0ff6
more general group_dset_h5_dtype variable in the templates [hdf5]
2021-05-27 13:59:45 +02:00
1575c1f4d0
add functions for has/read/write_dset_str [front]
2021-05-27 13:58:35 +02:00
Evgeny Posenitskiy
29d927675e
Major refactoring of the generator script ( #47 )
...
* minor cleaning
* create functions for dictionary parsers in the external file
* remove files_exclude since post-processing does the job
* no need to have group_group_dset when propagatin dsets
* oneliner for paths to templates
* add dset_per_group dict
* add function to iteratively populate string based on triggers list
* added recursive replacer for numbers
* add recursive replaces for datasets
* add function for text groups [iterative+recursive upd]
* do not define triggers in the master script
* transition to helper dictionaries
* cleaning
* comment main code blocks
* rearrange parameters
* add documentation strings to the functions
* minor cleaning and changes
* adapt build_trexio script
* add consisteny check for dimensioning variables
2021-05-26 19:11:46 +02:00
1d5c452071
Not bugs found with scan-build
2021-05-19 22:02:40 +02:00
0cc24bd21e
error handling for trexio_text_deinit function
2021-05-19 15:03:15 +02:00
q-posev
f77a5af4e0
fix a typo
2021-05-18 12:07:37 +02:00
q-posev
047153b7c1
remove NULL pointer check for file_name in text
2021-05-18 11:43:05 +02:00
q-posev
d97c111284
fix the default precision of int datasets
2021-05-18 11:42:26 +02:00
692f45ed7f
Correct rank in Fortran interface
2021-05-08 00:35:53 +02:00
cd8332a3e5
Added notes for sparse data structures
2021-05-07 00:02:12 +02:00
87bb6fcb6e
Better error messages
2021-05-06 19:56:42 +02:00
7302f02b9c
Improved error messages
2021-05-06 19:54:37 +02:00
181fe988f3
Fixed append problem
2021-05-06 19:40:27 +02:00
1cfa313d07
Error messages
2021-05-06 18:25:51 +02:00
q-posev
6e54e89d24
inttypes macros for rdm
2021-05-06 18:17:41 +02:00
20d551a70b
include inttypes to fix portability issues in text back end
2021-05-06 18:08:28 +02:00