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
- Move pytest.importorskip() into each SI-dependent test so that
test_spikeinterface_not_installed_raises_import_error runs without SI
- Fix finally block cleanup to handle ImportError when SI is genuinely absent
- Update spec: LazyModule -> try/except ImportError, v0.1.json -> register_spikeinterface_types(),
load_extractor -> spikeinterface.core.load throughout
1. Parses `json.loads(storage_value)` to recover the SI dict.
100
-
2. Calls `spikeinterface.core.load_extractor(si_dict)` and returns the result.
105
+
2. Calls `spikeinterface.core.load(si_dict)` and returns the result.
101
106
3. If the backing zarr/folder has been moved or deleted, SI raises naturally — no
102
107
additional wrapping needed (same behaviour as `LogicalDirectory` with a deleted path).
103
108
@@ -132,7 +137,7 @@ hashing infrastructure to land first (ITL-467).
132
137
|-----------|-----------|
133
138
|`NumpyRecording` or any recording with `check_serializability("json") == False`|`ValueError` clarifying that lazy file-backed recordings are fine but in-memory ones are not, with save instructions |
134
139
|`spikeinterface` not installed |`ImportError` on first use of `LogicalSIRecording`, message: `"Install spikeinterface: pip install orcapod[spikeinterface]"`|
135
-
| Backing zarr/folder deleted after storage | SI raises `FileNotFoundError` or similar on `load_extractor()` — propagates as-is |
140
+
| Backing zarr/folder deleted after storage | SI raises `FileNotFoundError` or similar on `load()` — propagates as-is |
136
141
| Corrupt JSON in storage |`json.JSONDecodeError` raised with the raw value in the message |
137
142
138
143
---
@@ -171,7 +176,7 @@ so they are skipped automatically when SI is not installed.
171
176
172
177
-`src/orcapod/extension_types/directory_type.py` — pattern for JSON-storage LogicalType
173
178
-`src/orcapod/extension_types/numpy_type.py` — pattern for direct python_type binding + hash handler
174
-
-`src/orcapod/hashing/semantic_hashing/builtin_handlers.py` — where `SIRecordingHandler` registers
175
-
-`src/orcapod/contexts/data/v0.1.json` — context config where LogicalType + handler are wired in
0 commit comments