Commit cfa394f
committed
TST: Fix dummy dataset dunder methods in estimator test
Fix dummy dataset dunder methods in estimator test:
- Return the correct dataset length: the length is the value along the
last dimension.
- Return the correct volume given an index: the index value indexes the
dataset along the last axis.
Take advantage of the commit to return `None` as the value for the
motion affines, as it can either be an array or `None`, not a scalar.1 parent d27ba75 commit cfa394f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments