Skip to content

Conversation

DanielYang59
Copy link
Contributor

@DanielYang59 DanielYang59 commented Mar 11, 2025

Summary

@DanielYang59 DanielYang59 changed the title Fix from_ase_atoms for Molecule Move from_ase_atoms from ABC SiteCollection to IStructure/IMolecule Mar 12, 2025
@DanielYang59 DanielYang59 changed the title Move from_ase_atoms from ABC SiteCollection to IStructure/IMolecule Move from_ase_atoms method from ABC SiteCollection to IStructure/IMolecule Mar 12, 2025
@DanielYang59 DanielYang59 marked this pull request as ready for review March 12, 2025 13:22
@DanielYang59 DanielYang59 marked this pull request as draft March 13, 2025 08:38
@DanielYang59 DanielYang59 changed the title Move from_ase_atoms method from ABC SiteCollection to IStructure/IMolecule [Breaking] from_ase_atomsconstructor for (I)Structure/(I)Molecule returns the corresponding type Mar 13, 2025
@DanielYang59 DanielYang59 changed the title [Breaking] from_ase_atomsconstructor for (I)Structure/(I)Molecule returns the corresponding type [Breaking] from_ase_atoms constructor for (I)Structure/(I)Molecule returns the corresponding type Mar 13, 2025
@DanielYang59 DanielYang59 marked this pull request as ready for review March 13, 2025 15:36
@Andrew-S-Rosen
Copy link
Member

This looks good to me. I will give this through the end of the week for others to chime in, and if there's nothing I will do a final review and merge over the weekend.


However, `pymatgen` is also used as a library by other tools, and as such breaking
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume hard wrap in markdown is not necessary, removed them here and let text editors handle line wraps automatically. Correct me if I'm wrong.

@Andrew-S-Rosen
Copy link
Member

Thanks, @DanielYang59! Merging.

@Andrew-S-Rosen
Copy link
Member

Ah, looks like I don't have permission to merge until the CI passes...

@Andrew-S-Rosen Andrew-S-Rosen enabled auto-merge (squash) March 15, 2025 12:05
@DanielYang59
Copy link
Contributor Author

Ah, looks like I don't have permission to merge until the CI passes...

No rush at all! I'm working on fixing these new linting errors in #4327

@shyuep shyuep disabled auto-merge March 17, 2025 13:40
@shyuep shyuep merged commit 8f5cba3 into materialsproject:master Mar 17, 2025
26 of 28 checks passed
@shyuep
Copy link
Member

shyuep commented Mar 17, 2025

Merged

@DanielYang59 DanielYang59 deleted the fix-from-ase-atoms branch March 17, 2025 13:44
@DanielYang59
Copy link
Contributor Author

Thanks!

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.

Molecule.from_ase_atoms() does not pass kwargs appropriately
3 participants