Skip to content

Commit

Permalink
#1232 Multi-line reaction cause access violationg exception. (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliaksandrDziarkach authored Dec 8, 2023
1 parent e88bfca commit 413f8a3
Show file tree
Hide file tree
Showing 4 changed files with 964 additions and 4 deletions.
1 change: 1 addition & 0 deletions api/tests/integration/ref/reaction/issue_1232.py.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Issue 1232: OK
20 changes: 20 additions & 0 deletions api/tests/integration/tests/reaction/issue_1232.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import difflib
import os
import sys

sys.path.append(
os.path.normpath(
os.path.join(os.path.abspath(__file__), "..", "..", "..", "common")
)
)

from env_indigo import *

indigo = Indigo()

# Chack that multi-line reaction loaded and converted without errors
r1 = indigo.loadReactionFromFile(
joinPathPy("reactions/issue_1232.ket", __file__)
)
rxn = r1.rxnfile()
print("Issue 1232: OK")
Loading

0 comments on commit 413f8a3

Please sign in to comment.