-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mimic the behavior of nglview and transforms the "displayed_structure…
…" into the standard form (#576) This PR transforms the "displayed_structure" into the standard form, where the a-axis aligns along the x-axis, prior to rendering in nglview. This ensures that nglview's internal handling does not further modify the structure unexpectedly. This ensures the atom positions and custom bonds calculated are matched.
- Loading branch information
1 parent
01be224
commit 70259cc
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
2 | ||
Lattice="3.81196 0.0 0.0 1.9059800000000005 3.3012541982101284 0.0 1.9059800000000005 1.100418066070043 3.112452306633254" Properties=species:S:1:pos:R:3 spacegroup="P 1" unit_cell=conventional pbc="T T T" | ||
Si 0.00000000 0.00000000 0.00000000 | ||
Si 1.90598000 1.10041807 0.77811308 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters