Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

34 extensions on end of strand #800

Merged
merged 34 commits into from
Sep 8, 2022
Merged

Conversation

dave-doty
Copy link
Member

@dave-doty dave-doty commented Sep 8, 2022

Description

Added support for single-stranded extensions on the end of a strand.

Related Issue

Closes #34

Motivation and Context

This will help in designs where some piece of a strand should be single-stranded, but there is not sufficient room on a helix to draw it there.

In the data model used by both the Python package and the Dart code implementing the web interface, an Extension is a new type of Substrand, i.e., it appears in the list of substrands (called domains in the Python package despite the fact that they can also have Loopouts and Extensions). As such, it shares certain features in common: it can have a name and a DNA sequence. It also has special properties, for example display_length and display_angle that control its appearance in the web interface.

How Has This Been Tested?

Unit tests were added similar to those in the Python package, and I also ran each of the new UI pieces manually.

Screenshots (if appropriate):

image

@dave-doty dave-doty linked an issue Sep 8, 2022 that may be closed by this pull request
@dave-doty dave-doty changed the title 2 extensions on end of strand 34 extensions on end of strand Sep 8, 2022
@dave-doty dave-doty merged commit c610121 into dev Sep 8, 2022
@dave-doty dave-doty deleted the 2-extensions-on-end-of-strand branch September 8, 2022 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support Extensions on the end of a Strand
1 participant