rose icon indicating copy to clipboard operation
rose copied to clipboard

Transformer Macro used on `rose-suite.conf` outputs `rose-app.conf`

Open wxtim opened this issue 3 years ago • 0 comments

User is modifying a suite config with a transformer macro:

  • On the command line an error is emmitted, but a rose-app.conf file containing the correct rose-suite.conf contents 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:

macro_example.tar.gz

$ 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

wxtim avatar Oct 26 '22 10:10 wxtim