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

Update mp #41

Merged
merged 18 commits into from
Dec 8, 2022
Merged

Update mp #41

merged 18 commits into from
Dec 8, 2022

Conversation

qwe789qwec
Copy link
Collaborator

Please Check

@pedrobcst
Copy link
Owner

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?

@qwe789qwec
Copy link
Collaborator Author

let me fix it later.
Why does it pass on my computer but not online?
what's different?

cod = CODQuery(elements=element_list,
max_num_elements=max_num_elem,
combination=False,
Copy link
Owner

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?

Copy link
Collaborator Author

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.

from pymatgen.ext.matproj import MPRestError
from pymatgen import MPRester
# from pymatgen.ext.matproj import MPRestError
# from pymatgen.ext.matproj import MPRester
Copy link
Owner

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:
Copy link
Owner

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

Copy link
Owner

@pedrobcst pedrobcst left a 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

@pedrobcst pedrobcst merged commit 81a526d into master Dec 8, 2022
@pedrobcst pedrobcst deleted the update_mp branch December 8, 2022 05:44
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