Skip to content

Commit ced515b

Browse files
Address CodeRabbitAI Feedback
Signed-off-by: Davis Vigneault <[email protected]>
1 parent 1283125 commit ced515b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data/test_itk_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_rgb(self):
4545
with tempfile.TemporaryDirectory() as tempdir:
4646
fname = os.path.join(tempdir, "testing.png")
4747
writer = ITKWriter(output_dtype=np.uint8)
48-
writer.set_data_array(np.arange(48).reshape(3, 4, 4), channel_dim=0)
48+
writer.set_data_array(torch.arange(48).reshape(3, 4, 4), channel_dim=0)
4949
writer.set_metadata({"spatial_shape": (5, 5)})
5050
writer.write(fname)
5151

0 commit comments

Comments
 (0)