Commit 741d836
committed
Remove legacy config fields and their fallback logic
Completely removes deprecated configuration fields instead of just comments:
**Removed Config Fields:**
1. `DataConfig.test_transpose` - Use `inference.data.test_transpose` instead
2. `TestTimeAugmentationConfig.act` - Use `channel_activations` instead
**Removed Fallback Logic:**
1. build.py: Remove cfg.data.test_transpose fallback (lines 262-263)
- Now only uses cfg.inference.data.test_transpose
2. lit_model.py: Remove single activation fallback (lines 331-348)
- Now requires channel_activations for TTA
**Impact:**
- 3 files modified
- 24 lines removed
- Breaking change: Old configs using deprecated fields will no longer work
- Users must update to modern config structure1 parent 9638774 commit 741d836
File tree
3 files changed
+2
-24
lines changed- connectomics
- config
- data/augment
- lightning
3 files changed
+2
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
396 | 395 | | |
397 | 396 | | |
398 | 397 | | |
| |||
866 | 865 | | |
867 | 866 | | |
868 | 867 | | |
869 | | - | |
870 | 868 | | |
871 | 869 | | |
872 | 870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | | - | |
263 | | - | |
264 | 262 | | |
265 | 263 | | |
266 | 264 | | |
267 | 265 | | |
268 | 266 | | |
269 | 267 | | |
270 | | - | |
| 268 | + | |
271 | 269 | | |
272 | 270 | | |
273 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | 331 | | |
350 | 332 | | |
351 | 333 | | |
| |||
0 commit comments