[PIPE2D-762] pfsConfig.selectFiber returns a transposed array with an extra dimension Created: 08/Mar/21 Updated: 18/Jun/21 Resolved: 18/Jun/21 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | rhl | Assignee: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 1 |
| Sprint: | 2DDRP-2021 A3, 2DDRP-2021 A5, 2DDRP-2021 A 6 |
| Reviewers: | hassan |
| Description |
print(pfsConfig.selectFiber(3).shape,
pfsConfig.selectFiber([3, 363, 360]).shape)
returns (1,) (3, 1) whereas I'd expect to return () (1, 3) |
| Comments |
| Comment by price [ 17/Jun/21 ] |
|
Simple fix, plus some extras inspired by this. |
| Comment by hassan [ 18/Jun/21 ] |
|
All changes look fine. |
| Comment by price [ 18/Jun/21 ] |
|
Merged. |