-
-
Notifications
You must be signed in to change notification settings - Fork 425
[Bug] Graphical Modeler: multiple variables used in single option are not substituted properly #7212
Copy link
Copy link
Open
Labels
Milestone
Description
Describe the bug
Let's have a model which uses multiple variables in a single tool option:
When the model is converted into Python code (using GRASS 8.4.2), only one of variables is substituted:
run_command("r.in.pdal",
flags="eo",
overwrite=True,
input=f"%path/dmr5g/{options['tile']}.laz",
output=f"{options['tile']}_dmr",Current dev version (main) is even worse - no variables are substituted!
input="%path/dmr5g/%tile.laz",
output="%tile_dmr",To reproduce
- Open attached model 06_grass_chm_v3.zip in Graphical Modeler
- Go to
Script editortab
Expected behavior
All variables substituted properly:
run_command("r.in.pdal",
flags="eo",
overwrite=True,
input=f"{options['path']}/dmr5g/{options['tile']}.laz",System description
- Operating System: Linux
- GRASS version: 8.4.2 and 8.6 (main)
Reactions are currently unavailable