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

Error message when trying to calculate values of the structures with the hydrogen and dative bonds #540

Closed
Svetlana-Asinovskaia opened this issue May 25, 2021 · 4 comments · Fixed by #815 or #823
Assignees
Labels
external Issue depends on external services such as Indigo service
Milestone

Comments

@Svetlana-Asinovskaia
Copy link
Collaborator

Svetlana-Asinovskaia commented May 25, 2021

Tested on Ketcher v2.2.1-115-gaf97cc42

Steps to reproduce:

  1. Launch Ketcher.
  2. With the 'Hydrogen Bond' tool draw a bond on the canvas.
  3. Click on the 'Calculated Values' button.

Expected result: The fields in the "Calculated Values" window are filled with the correct data.
Actual result: An alert appears

  • "Error: IndigoException: molfile loader: unknown bond type: 10" (remote mode).
    image
  • "Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'molfile loader: unknown bond type: 10', 'molfile loader: unknown bond type: 10', 'RXN loader: bad header ', 'RXN loader: bad header " (standalone mode).
    image

The issue is reproduced with the structures with the dative bonds.

@Svetlana-Asinovskaia Svetlana-Asinovskaia added bug external Issue depends on external services such as Indigo service labels May 25, 2021
@Svetlana-Asinovskaia Svetlana-Asinovskaia added this to the Release 2.3.0 milestone May 25, 2021
@Svetlana-Asinovskaia
Copy link
Collaborator Author

Related issue epam/Indigo#413

@vitalgerko
Copy link

Reopen.
Only for Standalone version

Steps to reproduce:
1st case

  1. Launch Ketcher.
  2. With the 'Hydrogen Bond'/ 'Dative Bond' tools draw a bond on the canvas.
  3. Click on the 'Calculated Values' button.

Expected result: The fields in the "Calculated Values" window are filled with the correct data.
Actual result: The error appears in the console. The fields in the "Calculated Values" window aren't filled.
Actual result

2nd case

  1. Launch Ketcher.
  2. With the 'Any Bond'/ 'Aromatic Bond'/ 'Single/ Double Bond' / Single/ Aromatic Bond' / 'Double/ Aromatic Bond' tools draw a bond on the canvas.
  3. Click on the 'Calculated Values' button.

Expected result: There is no error in console. The fields in the "Calculated Values" window are contain text 'Cannot calculate properties for structures with query features'.
Expected result

Actual result: The error appears in the console. The fields in the "Calculated Values" window aren't filled.
Actual result_1

AndreiMazol pushed a commit that referenced this issue Oct 8, 2021
* Change error handle to create new object with result errors

* Add error handler to analyse method

* Delete useless error handler in analyse method

* Return missed method call

Co-authored-by: Kirill Kapytov <[email protected]>
@vitalgerko vitalgerko assigned AllaZhbanova and unassigned vitalgerko Nov 1, 2021
@AllaZhbanova
Copy link

Fixed, tested v.2.4

@AllaZhbanova
Copy link

epam/Indigo#552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issue depends on external services such as Indigo service
Projects
None yet
5 participants