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
Branches
No related merge requests found
......@@ -20,8 +20,10 @@ 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:
frame = all_frames[frame._id]
#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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment