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

Fix filtering bug #337

Merged
merged 21 commits into from
Jan 29, 2025
Merged

Conversation

chrisiacovella
Copy link
Member

@chrisiacovella chrisiacovella commented Jan 29, 2025

Pull Request Summary

As outline in issue #336, the element filter was not being set when the parameters were passed to the DataModule from the trainer.

this fixes the issue and puts in tests to ensure the filter is being set when accessed via the less direct pipeline (i.e. we previously had tests where this was being set at the dataset level, but not starting from the top level of "read_config_and_train"

Associated Issue(s)

Pull Request Checklist

  • Issue(s) raised/addressed and linked
  • Includes appropriate unit test(s)
  • Appropriate docstring(s) added/updated
  • Appropriate .rst doc file(s) added/updated
  • PR is ready for review

…urning a bool of the status (make it easier to fix errors in an interactive setting).
…ystem rather than having to worry about passing around units to every function.

This might be slightly non-ideal (I generally do not like global variables), but I think for the case of curation it might make the most sense given the hierarchical nature of construction and the need to validate at the level of properties.
…fixed small bugs in hdf5 writer. hdf5 writer now also includes property type, which should make it easier upon reading to know what a property represents and how to convert it to a desired set of units.
…t sufficiently unique due to saturation of rings in some cases.
…DataModule. this has been fixed. A more direct test still is required to ensure it is being set.
@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.09%. Comparing base (f013190) to head (f5aef6d).

Additional details and impacted files

@chrisiacovella chrisiacovella merged commit e64fe5a into choderalab:main Jan 29, 2025
10 checks passed
@chrisiacovella chrisiacovella deleted the fix_filtering branch January 29, 2025 23:43
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