PistoiaHELM / HELMWebEditor

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

HELM is not generated correctly for CHEM polymer with more than one monomer #193

Closed ClairePA closed 6 years ago

ClairePA commented 6 years ago

I draw the following:

image

The structure is generated correctly, but the HELM is incorrect.

image

image

The HELM should be CHEM1{[SMCC]}|CHEM2{[EG]}$CHEM1,CHEM2,1:R1-1:R1$$$ (as you can't have a CHEM simple polymer with more than one monomer.)

You can type in the HELM and generate the correct structure, but not draw it on the canvas and generate the HELM.

scilligence commented 6 years ago

Is EG another chem monomer? I cannot reproduce it using SMCC with chem monomers.

ClairePA commented 6 years ago

It is another CHEM monomer, but doesn't appear in the latest version of the editor as we have swopped to the monomer.org set. It is odd. I was definitely having problems before, but it looks fine now. Propose close.