From f20d9889eeebc2a2e785087c1b9656301516de40 Mon Sep 17 00:00:00 2001 From: James Bruten Date: Tue, 7 Jan 2025 11:24:17 +0000 Subject: [PATCH] change apply_macros to print macros to all files, including science --- lfric_macros/apply_macros.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lfric_macros/apply_macros.py b/lfric_macros/apply_macros.py index 48cef51..e70813f 100755 --- a/lfric_macros/apply_macros.py +++ b/lfric_macros/apply_macros.py @@ -797,15 +797,6 @@ def preprocess_macros(self): # added macro or import metadata with the new macro # Note, this is only done for applications, not for science sections for meta_dir in self.meta_dirs: - if not ( - meta_dir.startswith( - os.path.join(self.root_path, "applications") - ) - or meta_dir.startswith( - os.path.join(self.core_source, "applications") - ) - ): - continue import_order = self.determine_import_order(meta_dir) full_command = self.combine_macros(import_order) # If there are commands to write out, do so and record this