-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
If any of the list[str] keys are missing from the dtype.names, normalization gets triggered for ALL keys. However, the normalization should only be applied for the missing keys, and pre-existing keys should be retrieved from the HeaderArray without aliasing. After this check, if key's alias still doesn't exist, that is when we should raise; specifically for the missing keys.
Lines 130 to 134 in 566924c
| elif isinstance(item, list) and all(isinstance(i, str) for i in item): | |
| if all(key in self.dtype.names for key in item): | |
| return super().__getitem__(item) | |
| item = self._normalize_and_validate_keys(item) |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working