Skip to content

Commit

Permalink
Merge pull request #364 from ecmwf-ifs/naml-loki-transform-filewrite-cuf
Browse files Browse the repository at this point in the history
Loki-transform: Pass `cuf` option to FilewriteTrafo
  • Loading branch information
reuterbal committed Aug 26, 2024
2 parents 68cb274 + 1bf38b3 commit 1f87624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/loki_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def convert(
# Write out all modified source files into the build directory
file_write_trafo = scheduler.config.transformations.get('FileWriteTransformation', None)
if not file_write_trafo:
file_write_trafo = FileWriteTransformation(builddir=build, mode=mode)
file_write_trafo = FileWriteTransformation(builddir=build, mode=mode, cuf='cuf' in mode)
scheduler.process(transformation=file_write_trafo)

return
Expand Down

0 comments on commit 1f87624

Please sign in to comment.