make plot_network conditional
This commit is contained in:
parent
890c80e047
commit
e5673731ab
@ -7,8 +7,8 @@ localrules:
|
|||||||
copy_config,
|
copy_config,
|
||||||
copy_conda_env,
|
copy_conda_env,
|
||||||
|
|
||||||
|
if config["foresight"] != "perfect":
|
||||||
rule plot_network:
|
rule plot_network:
|
||||||
params:
|
params:
|
||||||
foresight=config["foresight"],
|
foresight=config["foresight"],
|
||||||
plotting=config["plotting"],
|
plotting=config["plotting"],
|
||||||
@ -34,7 +34,8 @@ rule plot_network:
|
|||||||
script:
|
script:
|
||||||
"../scripts/plot_network.py"
|
"../scripts/plot_network.py"
|
||||||
|
|
||||||
rule plot_network_perfect:
|
if config["foresight"] == "perfect":
|
||||||
|
rule plot_network:
|
||||||
params:
|
params:
|
||||||
foresight=config["foresight"],
|
foresight=config["foresight"],
|
||||||
plotting=config["plotting"],
|
plotting=config["plotting"],
|
||||||
|
Loading…
Reference in New Issue
Block a user