-
Notifications
You must be signed in to change notification settings - Fork 59
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
Bug fixes and testing #386
Conversation
Thanks for patch, I believe you still have write access so please merge when ready! |
Thanks, @mkhorton, will merge once I figure out the tests. It looks like my test failures are related to the
|
nvm it's just due to some drift in behavior of dash things I guess. |
Minor fixes
Scene._repr_mimebundle_
callsself.as_dict
. SinceScene
is notMSONable
this breaks the code.Allow
display_color
to be set on a subset of atoms. If thedisplay_color
is set only on a subset of atoms, pymatgen will set the rest toNone
, in those cases we should still use the defaults.Display
MSONables
. There were a couple of typo bugs in the Jupyter code for MSONables.if self.get_scene
->hasattr(self, "get_scene")
as_dict
results need to be jsantized before rendering.Local installations can run into weird issues since we are supporting so many different codes. Namely installing IFermi on Mac is sometimes problematic due to FFTW package. Moving the imports inside the test allows you to avoid these imports easily using
pytest -k
Moved unused tests into the
root/tests
directory and updated them to work with the current code.Added test for the interaction between the patched MSONable objects and Ipython