Repository navigation
Tags: neuro-galaxy/torch_brain
Tags
feat: Add `delete_nested_attribute` in torch_brain.data` (#299) - Adds `Data.delete_nested_attribute(path)` symmetric with the existing `get`/`set`/`has` methods - Deletion guards live on `__delattr__` of each class (`Data`, `ArrayDict`, `IrregularTimeSeries`, `Interval`), not on the API method, so protection applies regardless of how `delattr` is called: - `IrregularTimeSeries.timestamps` and `Interval.start`/`end` always blocked - Other registered timekeys can be deleted and are auto-deregistered from `_timekeys` - `_resolve_to_parent` helper refactors shared path-walking logic from `get`/`set`/`delete` - Fixes latent bug: `LazyIrregularTimeSeries` was not explicitly imported in `data.py`