Skip to content

Commit

Permalink
fix: access __getitem__ directly
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
oesteban and effigies committed Nov 17, 2023
1 parent a6fe3eb commit 9bd0c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nitransforms/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def apply(
(
dataobj
if dataobj is not None
else np.asanyarray(spatialimage.dataobj[..., t], dtype=input_dtype)
else spatialimage.dataobj[..., t].astype(input_dtype, copy=False),
),
yvoxels.T,
output=output_dtype,
Expand Down

0 comments on commit 9bd0c59

Please sign in to comment.