Skip to content

Commit 7468919

Browse files
committed
fix set serialization in dbug
1 parent 9aa7548 commit 7468919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/roger/pipelines/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def _validate_indexed_concepts(self, elements, concepts):
756756
str(concept.id), search_term)
757757
import json
758758
log.error("search_element_ids: %s", json.dumps(searched_element_ids))
759-
log.error("sample_elements: %s", json.dumps(sample_elements))
759+
log.error("sample_elements: %s", json.dumps({k: list(v) for k,v in sample_elements.items()}))
760760
raise PipelineException(
761761
f"Validation error - Did not find {curie} for"
762762
f" Concept id : {concept.id}, "

0 commit comments

Comments
 (0)