Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions lfric_macros/apply_macros.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
##############################################################################
# (c) Crown copyright 2024 Met Office. All rights reserved.
# The file LICENCE, distributed with this code, contains details of the terms
Expand Down Expand Up @@ -1036,14 +1036,10 @@ def preprocess_macros(self, nproc: int) -> None:
if exception is not None:
executor.shutdown(wait=False, cancel_futures=True)
raise exception
print(
"[INFO] Processed macro successfully written to "
f"{
self.parse_application_section(
meta_order[write_tasks.index(task)]
)
}"
print_val = self.parse_application_section(
meta_order[write_tasks.index(task)]
)
print(f"[INFO] Processed macro successfully written to {print_val}")

############################################################################
# Upgrade Apps Functions
Expand Down
Loading