Skip to content

Commit

Permalink
Increment epsilon for is_on_line
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Sep 27, 2023
1 parent 4e70163 commit d2274a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion subproptools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
A plugin for extracting data from .sum files and manipuating them
"""

__version__ = "0.2.12"
__version__ = "0.2.13"
2 changes: 1 addition & 1 deletion subproptools/qtaim_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def get_atom_vscc(
return vscc_dict


def _is_on_line(lineStartList, lineEndList, pointToCheckList, epsilon=0.1):
def _is_on_line(lineStartList, lineEndList, pointToCheckList, epsilon=0.2):
"""Given 3d coords for start of line, end of line and point to check, sees if pointToCheck is on line"""
# line connecting atoms: (x1 + t(x2-x1),y1 + t(y2-y1),z1 + t(z2-z1))
# to reconstruct - create equations of lines. (pointToCheck-pointWitht) and (lineStart-pointWitht)
Expand Down

0 comments on commit d2274a6

Please sign in to comment.