epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
474 stars 164 forks source link

Preview: Unable to save mix of unresolved nucleotides and nucleotides to Sequence (and FASTA) #5030

Closed AlexeyGirin closed 2 months ago

AlexeyGirin commented 3 months ago

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode
  2. Open from file: Unable to save mix of unresolved nucleotides and nucleotides to sequence.zip OR create manually the following canvas: image
  3. Save canvas to Sequence format file (or FASTA)

Actual behavior System throws an exception: Convert error! Error during sequence type recognition(RNA, DNA or Peptide) Sequence: image FASTA: image

Expected behavior Since unresolved nucleotide is nucleotide - it should be recognized as DNA

Versions

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

AnnaKosol commented 3 months ago

Issue is still reproduced Sequence: Image FASTA: Image Versions: Ketcher Version 2.23.0-rc.2 Build at 2024-07-10; 19:39:22 Indigo Version 1.22.0-rc.2.0-ga21fb5d8f-wasm32-wasm-clang-19.0.0 Chrome Версия 126.0.6478.127 (Официальная сборка), (arm64) MacOs Sonoma 14.5

AlexeyGirin commented 2 months ago

Fixed. image