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

Empty headers appear when exporting to FASTA #1950

Closed Zhirnoff closed 1 month ago

Zhirnoff commented 1 month ago

Summary Empty headers appear when exporting to FASTA RNA sequence and RNA-monomers that are not a part of nucleotide or nucleoside

Steps to Reproduce

  1. Open Macro mode
  2. Add any RNA sequence and several RNA-monomers on canvas (see screenshot) or use attached file ketcher (51).zip
  3. Press 'Save' button and select FASTA format

Expected behavior CHEMs and RNA-monomers that are not a part of nucleotide or nucleoside are ignored during export. As described in https://github.com/epam/Indigo/issues/1755

Actual behavior Empty headers appear when exporting to FASTA

Environment details:

Attachments 2024-05-15_16h46_59

Additional context Add any other context about the problem here.

Zhirnoff commented 3 weeks ago

2024-06-10_15h02_53

Tested. Desktop:

Ketcher version [Version 2.21.0-rc.3] Indigo version [Version 1.20.0-rc.3]