1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-10-31 03:03:58 +01:00
Commit Graph

1139 Commits

Author SHA1 Message Date
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
8b580fee4a Automake done. Need to improve tests 2021-05-28 13:36:39 +02:00
893dda8581 Working on configure 2021-05-28 12:34:58 +02:00
732780430d Working on automake 2021-05-28 12:23:19 +02:00
b172b506ff Moved config.h in include 2021-05-28 12:19:15 +02:00
e46d314a5f Check for C99 2021-05-28 12:16:32 +02:00
1c0b17f809 Removed obsolete AC_PROG_CC_C99 2021-05-28 11:43:34 +02:00
bddb2e0269 synchronize trex.json 2021-05-27 23:31:30 +02:00
7f241687a8 Added autogen.sh 2021-05-27 23:29:38 +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