-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update mp #41
Conversation
It seems that the newest versions of scipy have moved pinv2 used by peakutils somewhere else. Can you fix the scipy version to 1.5.3 and see if the tests can pass? |
let me fix it later. |
cod = CODQuery(elements=element_list, | ||
max_num_elements=max_num_elem, | ||
combination=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the combination was removed from CODQuery? Its by default True, and in this method we are doing it should always be False (messy code, I am sorry). Can you double check this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I only change the mp part.
But let me check that later.
tests/test_settings.py
Outdated
from pymatgen.ext.matproj import MPRestError | ||
from pymatgen import MPRester | ||
# from pymatgen.ext.matproj import MPRestError | ||
# from pymatgen.ext.matproj import MPRester |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the old packages from comment. Not needed.
fields = properties, | ||
theoretical = False, | ||
energy_above_hull = ( 0, min_hull)) | ||
if "pytest" in sys.modules: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain why this is necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the issues I raised, then it should be g2g.
Mostly check the COD querier again.
I have fixed for now scipy==1.5.3 since pinv2 moved somewhere else
Please explain those changes you made
Please Check