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

fixes #212: change length of modification "connector" #213

Closed dave-doty closed 2 years ago

dave-doty commented 2 years ago

Description

Added field connector_length to Modification abstract base class.

Related Issue

212

Motivation and Context

See https://github.com/UC-Davis-molecular-computing/scadnano/issues/743.

How Has This Been Tested?

Added check to JSON unit tests with a non-default modification with connector length 6. Verified 6 is properly written, but no JSON is written for default value 4.