Closed albertvillanova closed 1 year ago
Note that the library bioc is only used in bigbiohub.py to make a type hint annotation:
bioc
bigbiohub.py
def get_texts_and_offsets_from_bioc_ann(ann: bioc.BioCAnnotation):
In this case, the error can be fixed by:
Fix #751.
You can check the validity of the proposed solution by merging this PR in the Hugging Face Hub:
Note that the library
bioc
is only used inbigbiohub.py
to make a type hint annotation:In this case, the error can be fixed by:
bioc
only when used by static type checkersFix #751.