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

Change config handling #410

Merged
merged 27 commits into from
Jan 9, 2025
Merged

Change config handling #410

merged 27 commits into from
Jan 9, 2025

Conversation

mschwoer
Copy link
Collaborator

@mschwoer mschwoer commented Dec 16, 2024

  • change the handling of the config. The idea is to have a config dumped to disk that is fully self-contained, i.e. no additional CLI parameters are required.
  • strictly forbid to add new keys (as they would not be understood by AlphaDIA anyway), this requires change the modifications section
  • refactor what is passed to SearchPlan

See the updated docs for the motivation :-)

@mschwoer mschwoer requested a review from GeorgWa December 16, 2024 10:31
@mschwoer mschwoer force-pushed the change_config_handling branch from e7f8988 to 6c8854b Compare December 18, 2024 16:39
Copy link
Collaborator

@GeorgWa GeorgWa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

alphadia/cli.py Outdated Show resolved Hide resolved
alphadia/constants/multistep.yaml Outdated Show resolved Hide resolved
alphadia/libtransform.py Show resolved Hide resolved
alphadia/search_plan.py Show resolved Hide resolved
alphadia/workflow/base.py Show resolved Hide resolved
alphadia/workflow/config.py Outdated Show resolved Hide resolved
alphadia/workflow/config.py Outdated Show resolved Hide resolved
docs/guides/transfer-dimethyl.md Show resolved Hide resolved
@mschwoer mschwoer force-pushed the change_config_handling branch from ea3c760 to 25c4bc0 Compare December 19, 2024 06:37
@mschwoer mschwoer force-pushed the change_config_handling branch from 70560fa to 82dfe46 Compare December 20, 2024 14:48
@mschwoer mschwoer changed the base branch from rename_plan to refactor_config December 20, 2024 14:49
@mschwoer mschwoer marked this pull request as ready for review December 20, 2024 14:51
@GeorgWa GeorgWa self-requested a review December 21, 2024 18:45
Copy link
Collaborator

@GeorgWa GeorgWa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from refactor_config to development January 9, 2025 10:23
@mschwoer mschwoer merged commit 8f32e51 into development Jan 9, 2025
5 checks passed
@mschwoer mschwoer deleted the change_config_handling branch January 9, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants