v0.15.3
There are several new features in this release.
Display strand names, Issue #576
If strands are assigned names, then can be optionally displayed in scadnano. They are displayed in the same location as the 5'-most domain name when domain names are displayed.
Copying strands to system clipboard, Issue #536
When strands are copied, this now puts some text on the system clipboard with details about the strands. This was originally done as a feature request (#536) to make it easier to gather information about a few strands from a large design and paste them into a text file to visually inspect. However, it also allows us to copy and paste strands between different instances of scadnano; see next feature.
The next few features can make it faster to create designs.
Strands can be copied from one instance of scadnano and pasted into another, Issue #590
Previously, when strands were copied, it only affected internal memory of a scadnano instance. Several scadnano instances (for example, open in different browser tabs) would have their own internal representation of copied strands. The only way to copy strands from one instance of design to another was to copy the strands, then load the new designs in the same running instance of scadnano, then paste them. (issue #520)
Now that strands are copied to the system clipboard, it is possible to copy strands from one design and paste them into another already open instance of scadnano with a different design. The exact rules governing how this works are a bit esoteric, since the two designs may not have any helix indices in common, for example, but it is similar to pasting from one HelixGroup to another (issue #249).
The first time you attempt to paste, the browser will issue a warning, because it needs your permission to access the operating system clipboard to read the information stored there when the strands were copied. Give it permission to read the clipboard.
Caution: Whenever there are changes to the design or UI settings, scadnano writes these into your browser's local storage. If you use the same browser to open two different instances of scadnano, they will be writing to the same place. If you want two open instances of scadnano really to have no effect on each other, the best way is to use two different browsers. (Since currently scadnano only supports Chrome and Firefox, those are the only two that could both be used.)
Join many selected ends by vertical crossovers, Issue #581
This can speed up adding many crossovers to a design, especially scaffold crossovers in an DNA origami design. See #581 for details.
Autopaste, Issue #580
This idea was inspired by ENSNano, which has a similar feature. If strands are copied and pasted, the translate "vector" is recorded (i.e., how many helices up or down were the pasted strands from the original, and how much did the offsets move, and did the forward/reverse orientation change). By pressing Ctrl+Shift+V, strands can be pasted again, with the new pasted positions automatically calculated to move along the same vector. This can speed up creating a large design from many repetitive strands. See #580 for details.
Commits
- [474c087]: added instructions for running scadnano offline to README and CONTRIBUTING (David Doty) #594
- [32db707]: Deleted pyodide directory; takes up lots of room and we probably won't ever use it (David Doty) #594
- [03776aa]: Update CONTRIBUTING.md (David Doty) #594
- [2f6c855]: Update CONTRIBUTING.md (David Doty) #594
- [4f3db7c]: Update CONTRIBUTING.md (David Doty) #594
- [6e12f2b]: Fixes #536; copy strand details to clipboard as human-readable text (#578) (Benjamin Lee) #578
- [e74a78a]: Bump version to 0.15.3 (Benjamin Lee) #594
- [03a5aec]: added tip about Chrome extension "Downloads Overwrite Already Existing Files" to tutorial (David Doty) #594
- [67214c4]: added table of contents to CONTRIBUTING (David Doty) #594
- [a51b8f3]: closes #576: display strand names (David Doty) #582
- [79eba60]: closes #581 ; add Edit menu item "Join selected ends by crossovers" (David Doty) #583
- [3706382]: rearranged JoinStrandsByMultipleCrossovers action to have no information about ends to join, to push that complex logic from view code into the reducer (David Doty) #583
- [2e9dd06]: added basic (but incomplete) unit tests for JoinStrandsByMultipleCrossovers action (David Doty) #583
- [c712bd9]: refactored response to Ctrl+C to use Actions (previously was doing hacky updates of member variable of view/Design class) (David Doty) #593
- [6cc04b9]: closes #580; autopaste: paste strand with translation auto-calculated from last paste (David Doty) #593
- [da9cbd0]: beefed up unit tests for autopaste to test that pasted strands are in correct positions (David Doty) #593
- [1e59160]: fixed bugs related to keeping strand color when autopasting, and a bad assertion when pasting that caused a crash if no copy was just done, and invalid behavior where copy buffer is unecessarily cleared when pressing Esc (David Doty) #593
- [87e056a]: Update strands_copy_info_autopaste_reducer.dart (David Doty) #593
- [972a7bc]: fixed ability to paste strands from one HelixGroup into another (David Doty) #593
- [3378553]: removed CopySelectedObjectTextToSystemClipboard action and just using CopySelectedStrands action now (David Doty) #593
- [553dbe1]: fixed bug where strands could not be copied in rope select mode (David Doty) #594
- [4844b3a]: Merge branch 'dev' into repeated-strand-paste-without-mouse-click (David Doty) #593
- [2611e89]: fixed bug where strand, domain, and loopout names altered with web interface were not being saved (David Doty) #594
- [25fa451]: closes #590 ; paste strands from separate instance of scadnano (David Doty) #593
- [17d3a4f]: updated some comment docs in actions.dart (David Doty) #594
- [54951dd]: fixed bug where DNA ends and HelixGroups could not be moved by dragging (David Doty) #594