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

Use deepmerge package for merging dicts #442

Closed
wants to merge 1 commit into from

Conversation

nicorum
Copy link

@nicorum nicorum commented Sep 18, 2024

Use the deepmerge package for merging dicts. This also provides a simple solution for #431. I used the merge_or_raise merger for merging edam files. This merger raises an Exception if no merging is possible.
Behavior for the other merges is the same as before.

I also tested this with deepmerge version 0.0.5, which is available in the ubuntu 20.04 repository. So this should be backwards compatible to older python versions.

The behavior of the configure_tools function is the same as before.

The extract_tool_options function now tries to merge the edam dicts. But if a merge conflict occurs, an exception is thrown.
@nicorum nicorum closed this Oct 8, 2024
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.

1 participant