Skip to content

Commit

Permalink
restore compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Oct 2, 2024
1 parent 02ddf92 commit 83f172a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/depiction_targeted_preproc/workflow/snakemake_invoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@ def workflow_dir(self) -> Path:
return Path(__file__).parents[1] / "workflow"

def _invoke_direct(self, work_dir: Path, result_files: list[Path]) -> None:
from snakemake.api import SnakemakeApi
from snakemake.settings import OutputSettings, StorageSettings, ResourceSettings, DAGSettings, ExecutionSettings
from snakemake.api import (
SnakemakeApi,
OutputSettings,
StorageSettings,
ResourceSettings,
DAGSettings,
ExecutionSettings,
)

with SnakemakeApi(
OutputSettings(
Expand Down

0 comments on commit 83f172a

Please sign in to comment.