From 7ddb9228f190addaac4de2f66180b226448cdcba Mon Sep 17 00:00:00 2001 From: q-posev Date: Thu, 27 May 2021 15:03:13 +0200 Subject: [PATCH] split dataset files in _str and _data groups --- tools/generator.py | 2 +- tools/generator_tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/generator.py b/tools/generator.py index 6a74116..3666cd2 100644 --- a/tools/generator.py +++ b/tools/generator.py @@ -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] diff --git a/tools/generator_tools.py b/tools/generator_tools.py index 03adfd9..84c0840 100644 --- a/tools/generator_tools.py +++ b/tools/generator_tools.py @@ -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')