File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Wrapping/Generators/Python/Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ def custom_callback(name, progress):
207
207
assert png_io .GetFileName () == filename
208
208
209
209
# test reading image series
210
- series_reader = itk .ImageSeriesReader .New (FileNames = [pathlib . Path ( filename ), pathlib . Path ( filename ) ])
210
+ series_reader = itk .ImageSeriesReader .New (FileNames = [filename , filename ])
211
211
series_reader .Update ()
212
212
assert series_reader .GetOutput ().GetImageDimension () == 3
213
213
assert series_reader .GetOutput ().GetLargestPossibleRegion ().GetSize ()[2 ] == 2
@@ -227,7 +227,7 @@ def custom_callback(name, progress):
227
227
assert series_reader .GetOutput ().GetImageDimension () == 3
228
228
229
229
# test reading image series with itk.imread()
230
- image_series = itk .imread ([filename , filename ])
230
+ image_series = itk .imread ([pathlib . Path ( filename ), pathlib . Path ( filename ) ])
231
231
assert image_series .GetImageDimension () == 3
232
232
233
233
# Numeric series filename generation without any integer index. It is
You can’t perform that action at this time.
0 commit comments