Skip to content

Commit

Permalink
Explicitly assign text_list as list
Browse files Browse the repository at this point in the history
  • Loading branch information
caufieldjh committed Oct 20, 2023
1 parent 5a600dd commit 906a8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ontogpt/evaluation/ctd/eval_ctd.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def eval(self) -> EvaluationObjectSetRE:
if self.chunking:
text_list = chunk_text(text)
else:
text_list = [text]
text_list = list(text)

for chunked_text in text_list:
extraction = ke.extract_from_text(chunked_text)
Expand Down

0 comments on commit 906a8af

Please sign in to comment.