-
Notifications
You must be signed in to change notification settings - Fork 190
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
Use absolute path for config.default.yaml
in _helpers.py
#1137
Use absolute path for config.default.yaml
in _helpers.py
#1137
Conversation
…tov/pypsa-earth into absolute_path_fixes
6105670
to
6fabdcc
Compare
With recent commit, prefix was identified for module pypsa_earth:
snakefile:
"submodules/pypsa-earth/Snakefile"
config:
config
prefix:
"submodules/pypsa-earth" Those inputs and outputs (with prefix) are accessed properly when input and outputs of rules are defined explicitly as in almost all rules, except |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great @yerbol-akhmetov :D
This PR is ready to go functionality-wise! :D
Would you mind to fix the merge conflict? Than this is merged :)
Many thanks!
Thanks, @davide-f, for great help in testing and suggestions. I have resolved the conflicts and updated the branch. |
Thanks @yerbol-akhmetov :D |
Changes proposed in this Pull Request
Good day. Here I propose to use absolute path to
config.default.yaml
in_helpers.py
script. Such change is important while importing PyPSA-Earth rules elsewhere and running then in external directories within another Snakemake. This is helpful for setting workflow.Checklist
doc/release_notes.rst
is amended in the format of previous release notes, including reference to the requested PR.