thenlevy / ensnano

ENSnano, a 3D graphical application for DNA nanostructures.
GNU General Public License v3.0
49 stars 6 forks source link

Copy and paste does not (always) work. How to delete helices and grids? #26

Open DurhamSmith opened 2 years ago

DurhamSmith commented 2 years ago

Hello,

When trying to copy and paste crossovers/strands from structures imported from cadnano Ctrl+v/j dont seem to do anything. Furthermore is there a way to fully delete grids? I can see I can turn visibility off but not delete.

Regards, D

DurhamSmith commented 2 years ago

Additionally I am unable to get setting the sequence to work. Either nothing happens or an error is returned. One more thing is once I have added helices to a grid and then made some staples it seems to not be possible to add more helices to the grid.

DurhamSmith commented 2 years ago

For reproduction with adding helices to grids it seems that once any of the options in the simulation tab are used things break.

thenlevy commented 2 years ago

Hello, Thank you for your interest in ENSnano

How to delete helices and grids ?

  • Deleting helices is only possible when there is no strand going through them.
  • Deleting grids is not possible at the moment

When trying to copy and paste crossovers/strands from structures imported from cadnano Ctrl+v/j dont seem to do anything.

Copy and paste operations can only be applied on strands that go through helices that are all on the same grid. When importing a design from cadnano, the design is imported without any grids. One needs to manually select helices that are meant to be positioned on the same grid and use the Guess grid button from the grid tab.

The following video shows an example at about 0:35 https://www.youtube.com/watch?v=SsqG3bZqyso&list=PLMpoApdWXUWbozBJD3poFrU0KZxK2--9g&index=6

For reproduction with adding helices to grids it seems that once any of the options in the simulation tab are used things break.

When launching a simulation, the simulation needs to be stopped before editing the design again. Roll simulations stop automatically if they reach an equilibrium but others don't.

If there is a red Stop button in the simulation tab, it needs to be pressed before the design can be edited again.

Rigid Helix simulations are a bit special, after using them one needs to press the Reset button to be able to edit the design again.

Additionally I am unable to get setting the sequence to work.

Here is the process to set the scaffold sequence:

https://user-images.githubusercontent.com/17043790/146518481-021582d1-6a4a-4df5-adcf-347fe8450c1b.mp4

This process, especially the "scaffold setting" part, is arguably not very intuitive.. We should think of a better interface