Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions opencompass/datasets/biodata.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def extract_dict_text(text):
matches = pattern.findall(text)
if not matches:
return None
if [match for match in matches][-1] == '{...}':
return None
return [match for match in matches][-1]


Expand Down