mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 01:56:13 +01:00
better detailed dict
This commit is contained in:
parent
69e52d3071
commit
e3a1e51702
@ -16,11 +16,12 @@ detailed_dsets_nostr, detailed_dsets_str, detailed_dsets_sparse = split_dset_dic
|
||||
detailed_dsets = detailed_dsets_nostr.copy()
|
||||
detailed_dsets.update(detailed_dsets_str)
|
||||
# build a big dictionary with all pre-processed data
|
||||
detailed_all = {}
|
||||
detailed_all['datasets'] = dict(detailed_dsets_nostr, **detailed_dsets_str, **detailed_dsets_sparse)
|
||||
detailed_all['groups'] = group_dict
|
||||
detailed_all['numbers'] = detailed_nums
|
||||
detailed_all['strings'] = detailed_strs
|
||||
detailed_all = {
|
||||
'datasets' : dict(detailed_dsets_nostr, **detailed_dsets_str, **detailed_dsets_sparse),
|
||||
'groups' : group_dict,
|
||||
'numbers' : detailed_nums,
|
||||
'strings' : detailed_strs
|
||||
}
|
||||
# consistency check for dimensioning variables
|
||||
check_dim_consistency(detailed_nums, dsets)
|
||||
# --------------------------------------------------------------------------- #
|
||||
|
Loading…
Reference in New Issue
Block a user