You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
context.entities should be keyed based on the entity long name #80
Noticed while reviewing #71: entities["sub"] is populated, rather than entities["subject"].
The schema consistently uses the long name, not the short name. This means we'll need to look up the mapping from schema.objects.entities, and we should probably do that once per schema.
I recently introduced childmindresearch/bids2table#74 as a method for mapping schema specifiers onto an adapter class that extracts the bits the library actually needs. The basic idea is:
And a short-to-long entity name map would be good to have.
Need to consider how to actually thread this through. I suspect we attach the adapter to the Dataset object, so it's always available to the individual context.
Activity