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

Removing stage key as a requirement for the configuration file #63

Merged
merged 14 commits into from
Aug 10, 2021

Conversation

joaomcteixeira
Copy link
Member

Continue implementations discussed in #53.
Here's the draft PR while I work on it. Comments and suggestions are very welcomed.
Cheers,

@joaomcteixeira joaomcteixeira added the enhancement Enhancing an existing feature of adding a new one label Aug 9, 2021
@joaomcteixeira joaomcteixeira self-assigned this Aug 9, 2021
* `stage` is now not necessary for `prepare_run` step
* params returns from `prepare_run` do not contain the general config params
missing `begin_dir` and `remove dict keys` function.
Parameter `stream` was not used and was still received.
Modified workflow.py to receive a config dict and not a stream

Not fully functional code (yet)
Also:
* opens space of `other parameters`

TODO:
* Adjust the `.run()` interface in `HaddockModules`.
@joaomcteixeira
Copy link
Member Author

Done, ready to review.

The stage key is now not needed in the configuration file. Also, I decoupled some parts while opening space for some future implementations if needed. After doing this, I got the sensation that we can dispose even of the order parameter.

@joaomcteixeira joaomcteixeira marked this pull request as ready for review August 10, 2021 09:39
src/haddock/gear/prepare_run.py Outdated Show resolved Hide resolved
@rvhonorato rvhonorato merged commit 56249e5 into haddocking:main Aug 10, 2021
joaomcteixeira added a commit to joaomcteixeira/haddock3 that referenced this pull request Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancing an existing feature of adding a new one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants