-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/SOF-7779 Update: from_mol #264
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
Conversation
| value: str = "test_dict" | ||
|
|
||
|
|
||
| # TODO: Remove this class when all configurations moved to Pydantic |
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.
Had to execute TODO -- new Code has no plain InMemoryEntity
|
|
||
| pymatgen_lattice = PymatgenLattice.from_parameters( | ||
| a=lattice_size, b=lattice_size, c=lattice_size, alpha=90, beta=90, gamma=90 | ||
| ) |
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.
The logic used to calculate the padded lattice should be independent of any third-party
| @@ -0,0 +1,174 @@ | |||
| 2519 | |||
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
| @@ -0,0 +1,81 @@ | |||
| MOLECULE_MATERIAL = { | |||
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
07d4b99 to
140c535
Compare
| return result | ||
|
|
||
|
|
||
| def calculate_molecule_padding_cell(coordinates: List[List[float]], padding_factor: float = 2.0) -> List[List[float]]: |
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.
calculate_padded_cell_simple_cubic
| return from_pymatgen(structure) | ||
|
|
||
|
|
||
| def from_mol(mol_file_path: str) -> Dict[str, Any]: |
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 this
No description provided.