UC-Davis-molecular-computing / scadnano-python-package

Python scripting library for generating designs readable by scadnano.
https://scadnano.org
MIT License
13 stars 7 forks source link

fixed issue where get_normal_vector_to was being calculated incorrect… #236

Closed DanielHader closed 2 years ago

DanielHader commented 2 years ago

…ly and loopout normal vectors weren't being normalized

In the get_normal_vector_to function used during oxDNA exporting, a check is made to see if two vectors are close to dependent. This check was implemented with an abs() call in the wrong spot. Also, the normal vector of a loopout nucleotide needs to be normalized.