Skip to content

Pass process_entries arguments to solid_compat in MaterialsProjectAqueousCompatibility#4589

Merged
shyuep merged 8 commits intomaterialsproject:masterfrom
lkkmpn:solid_compat_args
Feb 19, 2026
Merged

Pass process_entries arguments to solid_compat in MaterialsProjectAqueousCompatibility#4589
shyuep merged 8 commits intomaterialsproject:masterfrom
lkkmpn:solid_compat_args

Conversation

@lkkmpn
Copy link
Copy Markdown
Contributor

@lkkmpn lkkmpn commented Feb 16, 2026

Summary

The MaterialsProjectAqueousCompatibility class has a solid_compat argument for preprocessing, but currently only a subset of arguments to the aqueous compatibility's process_entries method are passed on to that of the solid_compat. This PR changes this so that all arguments are passed on, for more clear behavior. For instance, currently, if a user sets on_error='raise' on the aqueous compatibility object, the solid entries compatibility object would still ignore all errors, which can be confusing.

…tAqueousCompatibility`

Signed-off-by: lkkmpn <git@lkkmpn.nl>
@lkkmpn lkkmpn changed the title Pass process_entries argument to solid_compat in MaterialsProjectAqueousCompatibility Pass process_entries arguments to solid_compat in MaterialsProjectAqueousCompatibility Feb 16, 2026
@shyuep
Copy link
Copy Markdown
Member

shyuep commented Feb 17, 2026

Pls add a unit test for the new behavior.

@lkkmpn
Copy link
Copy Markdown
Contributor Author

lkkmpn commented Feb 17, 2026

I have added a unit test focusing on the on_error argument.

@shyuep shyuep merged commit 8a97036 into materialsproject:master Feb 19, 2026
1 check passed
@shyuep
Copy link
Copy Markdown
Member

shyuep commented Feb 19, 2026

Thanks!

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.

2 participants