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