Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System breaks IDT export line if it is longer than 80 chars #1986

Closed
AlexeyGirin opened this issue Jun 5, 2024 · 3 comments · Fixed by #2046
Closed

System breaks IDT export line if it is longer than 80 chars #1986

AlexeyGirin opened this issue Jun 5, 2024 · 3 comments · Fixed by #2046

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Jun 5, 2024

Steps to Reproduce

  1. Switch to Macro
  2. Load from file: System breaks IDT export line if it is longer than 80 chars.zip
    OR create on the canvas followng configuration:
    image
  3. Try to export canvas to IDT

Actual behavior
System show the following result:

/52MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA
//i2MOErA//i2MOErA//i2MOErA//3Phos/

image

Expected behavior
System show the following result (solid line, w/o new line breaks):
/52MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//3Phos/

Versions:

  • Indigo Toolkit Version 1.21.0-rc.1.0-g9194599b2-wasm32-wasm-clang-19.0.0
  • Ketcher Version 2.22.0-rc.2 Build at 2024-06-03; 18:43:00
  • Chrome Version 125.0.6422.142 (Official Build) (64-bit)
  • Windows 10

Issue found while testing #1900

@AnnaKosol
Copy link
Collaborator

Actual result:
System show the result with new line breaks
Снимок экрана 2024-07-03 в 12 44 41

Expected result:
System show the following result (solid line, w/o new line breaks):
/52MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//i2MOErA//3Phos/

Versions:
Ketcher Version 2.23.0-rc.1 Build at 2024-07-02; 09:03:38
Indigo Version 1.21.0-rc.1.0-g9194599b2-x86_64-linux-gnu-11.2.1
MacOs Sonoma version 14.5
Chrome Version 126.0.6478.127 (Официальная сборка), (arm64)

@AliaksandrDziarkach
Copy link
Collaborator

It was tested in Indigo Version 1.21.0-rc.1.0-g9194599b2-x86_64-linux-gnu-11.2.1 but fix in the Indigo 1.22-rc.1

@AlexeyGirin
Copy link
Collaborator Author

Fixed.
image

  • Ketcher Version 2.23.0-rc.2 Build at 2024-07-10; 19:39:22
  • Indigo Toolkit Version 1.22.0-rc.2.0-ga21fb5d8f-wasm32-wasm-clang-19.0.0
  • Windows 10 Pro
  • Chrome Version 126.0.6478.127 (Official Build) (64-bit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants