bids-standard / pybids-refactor

Python tools for querying and manipulating BIDS datasets.
https://bids-standard.github.io/pybids/
MIT License
0 stars 1 forks source link

.get(return_type='id') #25

Closed adelavega closed 1 year ago

adelavega commented 1 year ago
TypeError: 'EntityEnum' object is not iterable
adelavega commented 1 year ago

This is only in the case when you do:

.get(return_type='id', target='subject') (or another valid literal name), because it will match the a schema entitiy, but not be in the self_entities (because it is "sub"). And then it tries to pass this value to difflib.