Skip to content

Commit

Permalink
update: small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Aug 16, 2024
1 parent cbc1d67 commit 5fd3752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/mat3ra/made/tools/build/nanoribbon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def build_nanoribbon(self, config: NanoribbonConfiguration) -> Material:
vacuum_width = vacuum_w * np.dot(np.array(material.basis.cell.vector2), np.array([0, 1, 0]))

min_coordinate = [-nudge_value, conditional_nudge_value, 0]
max_coordinate = [length - nudge_value, width + conditional_nudge_value, 1]
max_coordinate = [length - nudge_value, width + conditional_nudge_value, height]

nanoribbon = filter_by_rectangle_projection(
supercell, min_coordinate=min_coordinate, max_coordinate=max_coordinate, use_cartesian_coordinates=True
Expand Down

0 comments on commit 5fd3752

Please sign in to comment.