You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described by @kaday (to whom many thanks for boiling it down to the toy example below):
The following rose config
#!/bin/bash
SRC=$(mktemp -d)
cat >"${SRC}/rose-suite.conf"<<__ICI__[template variables]DATE_END=20211203DATE_START=20211202__ICI__
mkdir "${SRC}/meta"
cat >"${SRC}/meta/rose-meta.conf"<<__ICI__[template variables=DATE_END]compulsory=falsedescription=Set end date of trial, YYYYMMDD format.sort-key=a-03type=integerfail-if=this > 0 and this <= template variables=DATE_START;ns=Controlhelp=This is the end date of the data you wish to plot[template variables=DATE_START]compulsory=truedescription=Set start date of trial, YYYYMMDD format.sort-key=a-02type=integerns=Controlhelp=This is the start date of the data you wish to plot__ICI__
tree "${SRC}"
rose metadata-check -C "${SRC}/meta"
Results in an unexpected failure:
[V] rose.metadata_check.MetadataChecker: issues: 1
template variables=DATE_END=fail-if=this > 0 and this <= template variables=DATE_START;
Not found: variables=DATE_START
The text was updated successfully, but these errors were encountered:
oliver-sanders
changed the title
Cylc8 metadata fail-if not working as expected in rose edit
metadata fail-if not working as expected in rose edit
Apr 16, 2024
As described by @kaday (to whom many thanks for boiling it down to the toy example below):
The following rose config
Results in an unexpected failure:
The text was updated successfully, but these errors were encountered: