thegetty / crom

Python library to make creation of CIDOC CRM easier by mapping classes/predicates to python objects
Apache License 2.0
49 stars 16 forks source link

Fix bug in reader classification code. #138

Closed kasei closed 4 years ago

kasei commented 4 years ago

This fixes a bug where the loop in reader that tries to compare with every instance in dir(vocab) ends up finding values that are not instances (e.g. STR_TYPES).