-
Notifications
You must be signed in to change notification settings - Fork 69
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
AtomRef Updates #158
AtomRef Updates #158
Conversation
The errors have to do with "Bad serialized model". I don't really understand how to fix those. I also keep getting this error when running pre-commit:
Any ideas on how to get rid of it? |
I think it is a version of ruff that is the problem for the PERF. For bad serialized model, I think your fork may have cached an old model. Maybe mgl clear --yes command to remove all models first? |
Thanks @shyuep ! The "bad serialized" error was actually from my changes. I had to do a few things to fix it:
I also added a raise from the Pls have a look and lmk your thoughts |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #158 +/- ##
=======================================
Coverage 98.06% 98.06%
=======================================
Files 28 28
Lines 1807 1810 +3
=======================================
+ Hits 1772 1775 +3
Misses 35 35
☔ View full report in Codecov by Sentry. |
Thanks. I think this is fine. I will merge. |
A few edits to the
AtomRef
class:max_z
as optional kwarg for cases where offsets have not been fitted yet.numpy
lstsq
instead of explicitly pseudo-inverseproperty_offset
a buffer to avoid errors when running on GPU and with lightning modules