q-posev
31ccd27a0a
fix warnings on MacOS
2021-12-17 17:07:53 +01:00
314beb58c9
refactoring done; moved common blocks into _hdf5_open_read_dset_sparse
2021-12-17 13:32:35 +01:00
1c49c81da8
[WIP] refactoring; write_dset_sparse done
2021-12-16 16:52:35 +01:00
a8b251d820
write sparse values and compress int indices depending on the max num value
2021-12-14 18:02:58 +01:00
070ef06818
better error handling for HDF5
2021-12-10 16:49:31 +01:00
1c16b75992
adapt HDF5 back end to be generated for an arbitrary number of indices
2021-12-10 16:02:38 +01:00
9f5ee463e1
only shift indices that have been read to the buffer (EOF case)
2021-12-10 14:02:05 +01:00
e00f3b106e
working HDF5 I/O for sparse indices
2021-12-09 16:13:28 +01:00
e774cb6852
add read_size function to HDF5 back end
2021-12-09 14:10:51 +01:00
d001844c2f
[WIP] working write_ for chunked extensible (sparse) datasets
2021-12-08 17:26:55 +01: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
11a17c65d3
add attr_ prefix to the template file name for numerical attributes
2021-09-21 10:41:37 +02:00
4b9827048f
adapt the templates in back ends
2021-09-20 15:51:36 +02:00
12dd1fd8dc
apply some suggestions from cppcheck
2021-09-12 13:25:03 +02:00
46eec89774
remove unsafe and unused file_name field from trexio_hdf5_s
2021-07-20 12:08:18 +02:00
411334e2ee
Merge branch 'master' into unit-testing
2021-06-22 14:46:39 +02:00
3bd730557c
remove H5LDget_dset_dims to be compatible with HDF5 v.1.8.21
2021-06-22 12:21:25 +02:00
c8fd3ba045
remove redundant check of overwriting
2021-06-21 12:48:32 +02:00
ae32a02652
pass max_str_len parameter also to read group_str
2021-06-14 14:36:19 +02:00
57b2b63902
add C preprocessor directive for memory reclaim call
2021-06-09 13:52:54 +02:00
842b0efaa8
use strncat instead of strcat
2021-06-08 14:59:03 +02:00
2e210bc212
bring back the max_str_len argument for read_ functions [hdf5]
2021-06-08 14:50:59 +02:00
36e85039d5
make file names consistent with the C test
2021-06-08 14:39:04 +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
5b1cf03aaf
[WIP] add has/read/write functions for string attributes [front,hdf5]
2021-06-04 15:33:50 +02:00
4fceb6624d
fix error handling in write_group_dset
2021-06-03 17:33:31 +02:00
40e9aa9234
introduce max_str_len parameter
2021-06-03 16:13:11 +02:00
aa4251b943
read_group_dset can operate on char* directly instead of char**
2021-06-03 13:41:43 +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
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
b5a6987758
first prototype of read/write string datasets
2021-05-31 13:26:52 +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
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
57655a8344
add error message for an attempt to overwrite dimensioning variables
2021-05-06 17:44:31 +02:00
d3b35ae453
discard portability patch
2021-05-06 09:35:48 +02:00
q-posev
48d300674a
portability patch for mac
2021-05-06 09:19:05 +02:00
9c2b240418
more portable HDF5 back end
2021-05-04 20:22:58 +02:00
5f4f94646f
replace ULLONG with UINT64
2021-05-04 14:16:12 +02:00
Evgeny Posenitskiy
8defdaa0c0
org-mode to html conversion for the documentation website ( #41 )
...
* working static html doc website generated from org-mode files
* fix build_doc script
* add gitignore
* add gitignore
* clean html garbage
* documented hdf5
* documented text back end
2021-04-09 16:45:44 +02:00
7e55933fea
make consistent hierarchy in org-mode files
2021-04-08 11:40:50 +02:00
b656917323
consistent naming init/deinit instead init/finalize in back ends
2021-04-08 11:31:51 +02:00
42df2253eb
better error handling
2021-03-30 16:03:34 +02:00
068beacb07
working has_ functions [all]
2021-03-30 11:50:02 +02:00
5fc0371276
Compliant with CERT
2021-03-29 00:37:56 +02:00
086a34d5b1
const
2021-03-29 00:34:56 +02:00