-
Notifications
You must be signed in to change notification settings - Fork 207
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
Harmonise folder structure for workflow outputs #1236
Conversation
unsd_path = ( | ||
os.path.dirname(snakemake.input["energy_totals_base"]) + "/demand/unsd/data/" | ||
os.path.dirname(snakemake.input["transactions_path"]) + "/demand/unsd/data/" |
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.
Hello!
Apologies, the review of this PR may have been left in drafts.
The whole PR sounds great to me but I'm a bit in doubt about this line.
The rule build_base_energy_totals creates such folder with the target files here loaded.
I believe it would be advisable to add an output to the build base rule and an input here with the directory.
That should avoid the confusion and this inner hidden dependencies.
What do you think?
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 :D Objective function of the -sec model does not change too.
Can we merge this?
Super 🙂 I think yes! |
Changes proposed in this Pull Request
PR address TODOs in Snakemake related to placing the outputs into
resources
instead ofdata
. It has also required some changes in other Snakemake rules and inside the scripts.Checklist
envs/environment.yaml
anddoc/requirements.txt
.config.default.yaml
andconfig.tutorial.yaml
.test/
(note tests are changing the config.tutorial.yaml)doc/configtables/*.csv
and line references are adjusted indoc/configuration.rst
anddoc/tutorial.rst
.doc/release_notes.rst
is amended in the format of previous release notes, including reference to the requested PR.