1
0
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:
q-posev 2021-12-09 16:15:17 +01:00
parent 69e52d3071
commit e3a1e51702

View File

@ -16,11 +16,12 @@ detailed_dsets_nostr, detailed_dsets_str, detailed_dsets_sparse = split_dset_dic
detailed_dsets = detailed_dsets_nostr.copy() detailed_dsets = detailed_dsets_nostr.copy()
detailed_dsets.update(detailed_dsets_str) detailed_dsets.update(detailed_dsets_str)
# build a big dictionary with all pre-processed data # build a big dictionary with all pre-processed data
detailed_all = {} detailed_all = {
detailed_all['datasets'] = dict(detailed_dsets_nostr, **detailed_dsets_str, **detailed_dsets_sparse) 'datasets' : dict(detailed_dsets_nostr, **detailed_dsets_str, **detailed_dsets_sparse),
detailed_all['groups'] = group_dict 'groups' : group_dict,
detailed_all['numbers'] = detailed_nums 'numbers' : detailed_nums,
detailed_all['strings'] = detailed_strs 'strings' : detailed_strs
}
# consistency check for dimensioning variables # consistency check for dimensioning variables
check_dim_consistency(detailed_nums, dsets) check_dim_consistency(detailed_nums, dsets)
# --------------------------------------------------------------------------- # # --------------------------------------------------------------------------- #