Skip to content

Commit

Permalink
change apply_macros to print macros to all files, including science
Browse files Browse the repository at this point in the history
  • Loading branch information
james-bruten-mo committed Jan 7, 2025
1 parent 16dd84b commit f20d988
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lfric_macros/apply_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f20d988

Please sign in to comment.