mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 10:06:01 +01:00
split dataset files in _str and _data groups
This commit is contained in:
parent
70531b0ff6
commit
7ddb9228f1
@ -47,7 +47,7 @@ for fname in files_todo['num']:
|
||||
recursive_populate_file(fname, template_paths, detailed_num)
|
||||
|
||||
# populate has/read/write_dset functions with recursive scheme
|
||||
for fname in files_todo['dset']:
|
||||
for fname in files_todo['dset_data']:
|
||||
recursive_populate_file(fname, template_paths, detailed_dset_nostr)
|
||||
|
||||
# populate group-related functions with mixed (iterative+recursive) scheme [text backend]
|
||||
|
@ -39,7 +39,7 @@ def get_files_todo(source_files: dict) -> dict:
|
||||
files_todo = {}
|
||||
#files_todo['all'] = list(filter(lambda x: 'read' in x or 'write' in x or 'has' in x or 'hrw' in x or 'flush' in x or 'free' in x, all_files))
|
||||
files_todo['all'] = [f for f in all_files if 'read' in f or 'write' in f or 'has' in f or 'flush' in f or 'free' in f or 'hrw' in f]
|
||||
for key in ['dset', 'num', 'group']:
|
||||
for key in ['dset_data', 'dset_str', 'num', 'group']:
|
||||
files_todo[key] = list(filter(lambda x: key in x, files_todo['all']))
|
||||
|
||||
files_todo['group'].append('struct_text_group_dset.h')
|
||||
|
Loading…
Reference in New Issue
Block a user