epam / Indigo

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

Macro: Cannot load Peptides from our Library that are not connected by bonds using FASTA file #1881

Closed NadezhdaPeskun closed 3 months ago

NadezhdaPeskun commented 3 months ago

Steps to Reproduce

  1. Switch to Macromolecules mode
  2. Load from file: Cannot load back Peptides from Library using FASTA.zip Important: do not connect peptides with bonds!
  3. Save to FASTA format
  4. Open this Fasta as Peptides

Actual behavior When trying to open a file system throws exception: Convert error! array: invalid index 4 (size=4) image

Expected behavior All Peptides not connected by bonds should be opened from saved FASTA file.

Environment details: Ketcher Version 2.20.0-rc.2 Build at 2024-03-27; 08:30:51 Indigo Toolkit Version 1.19.0-rc.2.0-g6c0e3fecf-x86_64-linux-gnu-11.2.1 Win10 Chrome Version 122.0.6261.129 (Official Build) (64-bit)

Related issues:

NadezhdaPeskun commented 3 months ago

Done for СI Version 2.20.0-rc.2 Build at 2024-04-04; 11:31:49

Indigo Toolkit Version 1.19.0-rc.3.0-gf2d7689b-wasm32-wasm-clang-12.0.0

image image