1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-23 03:07:45 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
0167a53d50 add dim type for dimensioning variables in the trex.json 2021-09-22 10:56:25 +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
2497a80f90 adapt triggers in the generator_tools 2021-09-20 15:51:57 +02:00
261e7c8b84 modify front end for more general numerical attributes 2021-09-20 13:16:44 +02:00
fdc9a975b9 add empty line between function headers 2021-08-30 12:52:36 +03:00
4c28a4cac8 add type converters for numerical arrays in read/write Python functions 2021-08-26 13:14:46 +03:00
8608e5d541 enable metadata I/O 2021-06-15 18:40:48 +02:00
ac45a937af Merge branch 'master' into add-strings 2021-06-15 11:49:42 +02:00
b92a15cce7 add top-level read/write functions for string arrays [fortran] 2021-06-15 10:20:01 +02:00
a39784dc51 adapt the generator to populate string attributes 2021-06-11 18:16:42 +02:00
b67d1c2cb2 adapt the generator for arrays of strings [text] 2021-06-11 14:45:42 +02:00
bec752361c Index OK 2021-06-10 01:49:43 +02:00
5abac3fec2 [WIP] working write dset of strings, but with memory leak [text] 2021-06-09 18:10:59 +02:00
3082dbbaf3 [WIP] adapt generator for string attributes [front,hdf5] 2021-06-04 15:36:18 +02:00
1647e76fcf [WIP] adapt generator for string datasets 2021-05-31 16:39:21 +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
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