c160de1a1b
adapt tests to use max_str_len parameter
2021-06-03 16:13:57 +02:00
40e9aa9234
introduce max_str_len parameter
2021-06-03 16:13:11 +02:00
313ab12c61
adapt tests to use TREXIO_DELIM as a delimeter
2021-06-03 13:42:56 +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
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
13fe1e8690
[WIP] working tests with string converters
2021-06-01 14:59:08 +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
1647e76fcf
[WIP] adapt generator for string datasets
2021-05-31 16:39:21 +02:00
9142c21130
add C test for nucleus_label
2021-05-31 16:37:00 +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
42f81b2cc6
prepare templates and files for datasets with strings [all]
2021-05-27 15:14:01 +02:00
7ddb9228f1
split dataset files in _str and _data groups
2021-05-27 15:03:13 +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
331e3d64fd
Added prim_factor
2021-05-25 00:01:59 +02:00
1618441112
Fixed JSON
2021-05-24 15:45:30 +02:00
c5779f17f9
Detect error in JSON.org
2021-05-24 15:01:04 +02:00
32a44df569
More documentation in TREX JSON
2021-05-21 14:04:19 +02:00
9ec75c2892
Added trex.org to generate json
2021-05-21 12:10:29 +02:00
1d5c452071
Not bugs found with scan-build
2021-05-19 22:02:40 +02:00
6ffc4ccfb2
Fixed Fortran interface
2021-05-19 16:17:24 +02:00
0cc24bd21e
error handling for trexio_text_deinit function
2021-05-19 15:03:15 +02:00
Evgeny Posenitskiy
f2c79827b5
Merge pull request #46 from TREX-CoE/fix-int-dsets
...
Fix default precision of int datasets
2021-05-18 12:15:48 +02:00
q-posev
f77a5af4e0
fix a typo
2021-05-18 12:07:37 +02:00
q-posev
07725b2a0a
adapt generator for flexible default precisions
2021-05-18 11:47:46 +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
57655a8344
add error message for an attempt to overwrite dimensioning variables
2021-05-06 17:44:31 +02:00
db5544e810
Improved error codes
2021-05-06 15:09:50 +02:00
51a1e2bca3
Adjustments in trex.json
2021-05-06 13:39:04 +02:00
61bc9991bf
gitignore pc file
2021-05-06 09:39:18 +02:00
5e3c085fb7
discard patch for rdm
2021-05-06 09:38:28 +02:00
d3b35ae453
discard portability patch
2021-05-06 09:35:48 +02:00
q-posev
c35362f933
Merge branch 'master' of https://github.com/TREX-CoE/trexio
2021-05-06 09:21:39 +02:00