Skip to content

helpers: adjust mock_snakemake to be callable with different root directory#771

Merged
fneum merged 2 commits intomasterfrom
mock_snakemake_root_dir
Nov 2, 2023
Merged

helpers: adjust mock_snakemake to be callable with different root directory#771
fneum merged 2 commits intomasterfrom
mock_snakemake_root_dir

Conversation

@FabianHofmann
Copy link
Copy Markdown
Contributor

With this change the mock_snakemake function can be called with a Snakefile from a different root directory. This allows to mock_snakemake in pypsa-eur while using a Snakefile from a higher level snakemake workflow.

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in all of config.default.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv.
  • A release note doc/release_notes.rst is added.

@fneum fneum merged commit f75e185 into master Nov 2, 2023
@fneum fneum deleted the mock_snakemake_root_dir branch November 2, 2023 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants