rose
rose copied to clipboard
Transformer Macro used on `rose-suite.conf` outputs `rose-app.conf`
User is modifying a suite config with a transformer macro:
-
On the command line an error is emmitted, but a
rose-app.conffile containing the correctrose-suite.confcontents is produced. -
In the GUI the correct file is modified. The error appears as a popup, and disables the macro button in the form, but not the menu.
Example using the attached suite:
$ rose macro dummy_transform.LoadStreams -y -vv
[INFO] rose-suite.conf
[T] dummy_transform.LoadStreams: changes: 1
jinja2:suite.rc=STREAMS=["ap4", "ap5", "onm", "inm"]
to ["ap4", "ap5", "onm", "inm"]
[INFO] 2022-10-26T11:33:29+0100 M /net/home/h02/tpilling/cylc-user-support/macro_example
[INFO] rose-suite.info
[FAIL] 2022-10-26T11:33:29+0100 Error: could not find macro dummy_transform.LoadStreams