copy_config: fix import

This commit is contained in:
Fabian 2023-08-15 16:51:35 +02:00
parent 5036964dbe
commit b40a8926ff

View File

@ -10,10 +10,11 @@ from pathlib import Path
from shutil import copy from shutil import copy
import yaml import yaml
from _helpers import set_scenario_config
if __name__ == "__main__": if __name__ == "__main__":
if "snakemake" not in globals(): if "snakemake" not in globals():
from _helpers import mock_snakemake, set_scenario_config from _helpers import mock_snakemake
snakemake = mock_snakemake("copy_config") snakemake = mock_snakemake("copy_config")