Commit 8bbb56a
committed
fix: Accept dtype_config instead of dtype_conversion in dtype_wrapper
The dtype_wrapper now expects dtype_config (the full dataclass) from OpenHCS
and extracts the default_dtype_conversion field from it. This fixes the
structural issue where dtype_config was being filtered before reaching
ArrayBridge, preventing dtype conversion from working.
Changes:
- Extract dtype_config from kwargs instead of dtype_conversion
- Get conversion mode from dtype_config.default_dtype_conversion
- Maintains backward compatibility with None fallback1 parent 0e29e6d commit 8bbb56a
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
| |||
0 commit comments