mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-05 11:00:30 +01:00
enable metadata I/O
This commit is contained in:
parent
f788c859fb
commit
8608e5d541
@ -7,13 +7,8 @@ trex_config = read_json(config_file)
|
|||||||
# --------------------------------------------------------------------------- #
|
# --------------------------------------------------------------------------- #
|
||||||
|
|
||||||
# -------------------------------- [WIP] ------------------------------------ #
|
# -------------------------------- [WIP] ------------------------------------ #
|
||||||
print('Metadata I/O currently not supported')
|
|
||||||
# TODO, for now remove metadata-related stuff
|
|
||||||
del trex_config['metadata']
|
|
||||||
# for now remove rdm from config because it functions are hardcoded
|
# for now remove rdm from config because it functions are hardcoded
|
||||||
del trex_config['rdm']
|
del trex_config['rdm']
|
||||||
# TODO, for now remove char-related stuff
|
|
||||||
print('Strings I/O currently not supported')
|
|
||||||
# --------------------------------------------------------------------------- #
|
# --------------------------------------------------------------------------- #
|
||||||
|
|
||||||
# -------------------- GET ATTRIBUTES FROM THE CONFIGURATION ---------------- #
|
# -------------------- GET ATTRIBUTES FROM THE CONFIGURATION ---------------- #
|
||||||
|
@ -556,9 +556,14 @@ def split_dset_dict_detailed (datasets: dict) -> tuple:
|
|||||||
group_dset_std_dtype_in = '" SCNd64 "'
|
group_dset_std_dtype_in = '" SCNd64 "'
|
||||||
elif v[0] == 'str':
|
elif v[0] == 'str':
|
||||||
datatype = 'char*'
|
datatype = 'char*'
|
||||||
group_dset_h5_dtype = 'c_s1'
|
group_dset_h5_dtype = ''
|
||||||
group_dset_f_dtype_default = 'character(len=*)'
|
group_dset_f_dtype_default = ''
|
||||||
|
group_dset_f_dtype_double = ''
|
||||||
|
group_dset_f_dtype_single = ''
|
||||||
group_dset_dtype_default = 'char*'
|
group_dset_dtype_default = 'char*'
|
||||||
|
group_dset_dtype_double = ''
|
||||||
|
group_dset_dtype_single = ''
|
||||||
|
default_prec = ''
|
||||||
group_dset_std_dtype_out = 's'
|
group_dset_std_dtype_out = 's'
|
||||||
group_dset_std_dtype_in = 's'
|
group_dset_std_dtype_in = 's'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user