Skip to content
Snippets Groups Projects
Commit 5f25544d authored by Kasia Krasnowska's avatar Kasia Krasnowska
Browse files

TEST: always take frame objects from preprocessing when importing to ensure...

TEST: always take frame objects from preprocessing when importing to ensure same objects for same frame xml id
parent 24bfcf40
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,9 @@ class Semantics:
frames = []
for frame_subtree in frames_tree._children[0]._children[0]._children:
frame = Frame.fromTree(base, pos, frame_subtree)
if frame._base is None:
#if frame._base is None:
# frame = all_frames[frame._id]
# KKK: always take frame from all_frames to make sure same id == same object => same DB object
frame = all_frames[frame._id]
frames.append(frame)
arguments.update(frame._arguments)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment