Skip to content

Commit

Permalink
NiFi scripts: updated ann bulk parse script.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Dec 19, 2024
1 parent 3173230 commit 1d53cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nifi/user-scripts/parse-anns-from-nlp-response-bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def process(self, inputStream, outputStream):

# sometimes there's an empty annotation list
if len(annotations.keys()) == 0:
log.info("Empty annotation list - " + footer[DOCUMENT_ID_FIELD_NAME])
log.info("Empty annotation list - " + str(footer[DOCUMENT_ID_FIELD_NAME]))
continue

anns_ids=[]
Expand Down

0 comments on commit 1d53cb0

Please sign in to comment.