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

Only warn about strands with duplicate names that can't be copies of each other. #243

Open cgevans opened 2 years ago

cgevans commented 2 years ago

This adds a Strand.equiv method (that could use a clearer name) that checks whether two strands could be the same, eg, have domains of the same length and sequence, and same modifications. It then uses this to only give warnings about strands with the same name that can't be equivalent to each other.