no directory change before mock_snakemake
This commit is contained in:
parent
6aac8c90b4
commit
6ea8d52a81
@ -781,12 +781,9 @@ def base_network(
|
||||
|
||||
if __name__ == "__main__":
|
||||
if "snakemake" not in globals():
|
||||
import os
|
||||
|
||||
from _helpers import mock_snakemake
|
||||
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
snakemake = mock_snakemake("base_network")
|
||||
configure_logging(snakemake)
|
||||
set_scenario_config(snakemake)
|
||||
|
Loading…
Reference in New Issue
Block a user