[CRITICAL] There are issues that occurred during the templates generation
Hello @dbeltran and @bdepaula,
Autosubmit Version
4.0.79
Summary
Cannot use autosubmit variable for chunksize and numchunks.
Steps to reproduce
autosubmit expid -min -d "debug"
we add the following to the minimal.yaml:
settings:
chunks: "1"
experiment:
DATELIST: 20201001
MEMBERS: "m1"
CHUNKSIZEUNIT: hour
CHUNKSIZE: 1
NUMCHUNKS: "%settings.chunks%"
CHUNKINI: 0
CALENDAR: standard
jobs:
dummy:
file: dummy.sh
platforms:
dummy:
hostname: dummy
we can create the experiment
autosubmit create aXXX
and if we do autosubmit run aXXX
or autosubmit inspect aXXX
the error is triggered.
What is the current bug behavior?
[ERROR] Trace: expected string or bytes-like object
[CRITICAL] There are issues that occurred during the templates generation, please check that job parameters are well set and the template path exists. [eCode=7014]
What is the expected correct behavior?
I expect to be able to use autosubmit variables in expdef as well. It looks to work when it comes to defining the members. For example, this works:
settings:
members: "5"
experiment:
MEMBERS: "m[1-%settings.members%]"
()CR