Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

FabianHofmann
Copy link
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
3 of 5 checks passed
@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