epam / Indigo

Universal cheminformatics toolkit, utilities and database search tools
http://lifescience.opensource.epam.com
Apache License 2.0
290 stars 99 forks source link

Preview: We shouldn't allow to export canvas with nucleotides with no natural analog to Sequence format (and FASTA) #2035

Open AlexeyGirin opened 2 days ago

AlexeyGirin commented 2 days ago

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode

  2. Open RNA tab - Nucleotides section

  3. Put 55NitInd nucleotide from the library on the canvas image

  4. Save canvas to Sequence format (or FASTA)

Actual behavior System let user to do that Sequence: image FASTA: image

Expected behavior Since we don't support import of monomers with no natural analog - we should not allow to export it. System should throw propper error in that case

Versions

Issue found while testing - https://github.com/epam/ketcher/issues/4382