Skip to content

Commit

Permalink
fix: adapt to changes in snakemake-interface-executor-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Sep 20, 2023
1 parent 0b283c4 commit e8ef5e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
snakemake-interface-common = "^1.3.2"
snakemake-interface-executor-plugins = "^3.0.0"
snakemake-interface-common = "^1.4.1"
snakemake-interface-executor-plugins = "^4.0.0"


[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
flake8 = "^6.1.0"
coverage = "^7.3.1"
pytest = "^7.4.2"
snakemake = {git = "https://github.com/snakemake/snakemake.git", branch = "feat/api-rewrite"}
snakemake = {git = "https://github.com/snakemake/snakemake.git"}

[build-system]
requires = ["poetry-core"]
Expand Down
4 changes: 2 additions & 2 deletions snakemake_executor_plugin_slurm_jobstep/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from snakemake_interface_executor_plugins.workflow import WorkflowExecutorInterface
from snakemake_interface_executor_plugins.logging import LoggerExecutorInterface
from snakemake_interface_executor_plugins.jobs import (
ExecutorJobInterface,
JobExecutorInterface,
)
from snakemake_interface_executor_plugins.settings import ExecMode

Expand Down Expand Up @@ -56,7 +56,7 @@ def __init__(
# only needed for commented out jobstep handling below
self.jobid = os.getenv("SLURM_JOB_ID")

def run_job(self, job: ExecutorJobInterface):
def run_job(self, job: JobExecutorInterface):
# Implement here how to run a job.
# You can access the job's resources, etc.
# via the job object.
Expand Down

0 comments on commit e8ef5e7

Please sign in to comment.