sulcgroup / oxdna-viewer

oxView: Visualization and editing tool for DNA/RNA nanotechnology and oxDNA/oxRNA configuration analysis
GNU General Public License v3.0
49 stars 19 forks source link

Fix for Patch Files with No a1 or a2 #98

Closed JeDeveloper closed 1 year ago

JeDeveloper commented 1 year ago

Extremely minor adjustment to patchy particle file loader. Added conditional so that if a1 and a2 values are missing the loader will calculate them based off patch positions. The code already existed to do this so I just needed to add checks for missing a1 and a2 values.