PistoiaHELM / HELMWebEditor

Web browser based editor for drawing HELM macromolecules.
MIT License
19 stars 10 forks source link

Chem structure is displayed in Structure Viewer #45

Closed scilligence closed 7 years ago

scilligence commented 7 years ago

Steps to reproduce:

  1. Draw a RNA
  2. Draw a Chem linking to the RNA
  3. Swtich to Structure Viewer, and click the bond connecting RNA and Chem

Bug: the structure of Chem is not displayed

scilligence commented 7 years ago

Fixed

ClairePA commented 7 years ago

This works for the bond at the 5' end, but clicking the bond at the 3' end does highlight the monomers, but the structure is not shown in the structure box. (I added chems at both ends) Also, shift clicking phosphate then sugar then base highlights the monomers correctly but the structure display shows the following: click the phosphate - phosphate is displayed shift-click the neighbouring sugar - both monomers are highlighted and the structure view shows the sugar only, the phosphate structure is removed shift-click the base - all three monomers are highlighted and only the sugar structure is displayed.

scilligence commented 7 years ago

Here is the screenshot Claire provided. The problem is the bond is not selected: t

ClairePA commented 7 years ago

This needs to be added to the user guide as user will assume that selecting the monomers will be sufficient. Please confirm when it is included in the guide.

ClairePA commented 7 years ago

If you highlight monomers in a peptide but don't select the bond you see the unconnected monomer structures. If you then shift-click the bond you see the monomers connected to each other. This is the correct behaviour. If you highlight multiple nucleotide monomers, but don't select the bond you only see one unconnected monomer structure. The behaviour for nucleotides should be the same as peptides.

scilligence commented 7 years ago

Fixed in 2016-11-02 update

ClairePA commented 7 years ago

Stes to reproduce: Click on R then shift-click A image only the sugar is shown in the structure view image Click on A then shift-click R gives the same display

Click on R then shift-click on P and you get the separate monomer which is correct, but they are too close together image

Shift-clicking the aminoacids in a peptide now gives the separate monomers (correct), but they are also overlaid. image image

ClairePA commented 7 years ago

When you select adjacent monomers, the bond between them should also be selected. Therefore the monomers will be displayed as joined together. Non adjacent monomers will remain separate.

scilligence commented 7 years ago

fixed in 2016-12-08 update

ClairePA commented 7 years ago

Confirmed fixed. Looks great!