Skip to content

Commit 2ff4470

Browse files
committed
added a quick fix
1 parent d2823a8 commit 2ff4470

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autosubmit/job/job.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2455,6 +2455,10 @@ def _substitute_placeholders(
24552455
:return: Content with placeholders substituted.
24562456
:rtype: str
24572457
"""
2458+
# TODO quick fix for 4.1.15 release, to see why it is needed
2459+
if as_conf.dynamic_variables:
2460+
parameters = as_conf.substitute_dynamic_variables(parameters, max_deep=25, in_the_end=True)
2461+
24582462
placeholders = re.findall(r'%(?<!%%)[a-zA-Z0-9_.-]+%(?!%%)', content, flags=re.IGNORECASE)
24592463
for placeholder in placeholders:
24602464
if placeholder in as_conf.default_parameters.values():

0 commit comments

Comments
 (0)