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

Cannot open some expected IDT. #1982

Closed NadezhdaPeskun closed 1 week ago

NadezhdaPeskun commented 4 weeks ago

Steps to Reproduce

  1. Switch to Macro
  2. Open >> Try to Open from clipboard the next IDTs
    
    /52MOErA/
    /i2MOErA/
    /52MOErA//i2MOErA/
    /52MOErA/*/i2MOErA/
    /i2MOErA//32MOErA/
    /i2MOErA/*/32MOErA/

**Actual result:**
Cannot open some IDTs
**Errors >>
1) `/52MOErA/`
<img width="518" alt="image" src="https://github.com/epam/Indigo/assets/161723514/4d3f2040-3740-4d4d-a2c0-4e24e3e14900">

2)` /i2MOErA/`
<img width="496" alt="image" src="https://github.com/epam/Indigo/assets/161723514/8549483e-0bf3-49ef-b4cd-22db55f67bd6">

3) `/52MOErA//i2MOErA/ and for /52MOErA/*/i2MOErA/`
<img width="511" alt="image" src="https://github.com/epam/Indigo/assets/161723514/33ce7ef6-e596-461e-92f4-9d18638f6a21">

4) `/i2MOErA/*/32MOErA/`
<img width="500" alt="image" src="https://github.com/epam/Indigo/assets/161723514/6b0a1a02-781c-4070-87c0-ec481560fb42">

**Expected behavior**
<img width="350" src="https://github.com/epam/Indigo/assets/143799055/0b860764-266e-49a4-887f-31e75dd9d5c0">
<img width="350" src="https://github.com/epam/Indigo/assets/143799055/eee14f7f-3f02-4b65-8e4f-c1e5170004fc">
<img width="500" src="https://github.com/epam/Indigo/assets/143799055/f6d9a667-0f5e-4eb9-a38d-0d32f4021e2f">

<img width="350" src="https://github.com/epam/Indigo/assets/143799055/ac6c0324-4719-46bc-a2eb-59df410a99a0">

**Opened as expected:**

/32MOErA/ /52MOErA//32MOErC/ /52MOErA//32MOErC/ /52MOErA//i2MOErC//32MOErT/ /52MOErA//i2MOErC//32MOErT/ /52MOErA//i2MOErC//i2MOErG/G+AmTATrAG/i2MOErG//32MOErT/



Related with:
- https://github.com/epam/Indigo/issues/1966

**Versions:**
Windows 11
Chrome Version Version 123.0.6312.106 (Official Build) (64-bit)

CI version:
Ketcher Version 2.22.0-rc.1 Build at 2024-04-15; 20:00:15
Indigo Toolkit Version 1.21.0-dev4
AlexeyGirin commented 1 week ago

Not fixed. image

Zhirnoff commented 1 day ago

Automated.