You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calling Ashlar with a Python wrapper for a set of tiff files in a folder. It fails if one tile is missing.
Traceback (most recent call last):
File "C:\Users\ricardo.guerreiro\Experiments\24_stitching\run_ashlar.py", line 110, in
aligner0.run()
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\reg.py", line 550, in run
self.make_thumbnail()
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\reg.py", line 562, in make_thumbnail
self.reader.thumbnail = thumbnail.make_thumbnail(
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\thumbnail.py", line 41, in make_thumbnail
utils.paste(mosaic, img_s, pos_s, utils.pastefunc_blend)
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\utils.py", line 181, in paste
target_slice[:] = func(target_slice, img)
File "C:\Users\ricardo.guerreiro\Experiments\pipelines\ashlar\ashlar\utils.py", line 207, in pastefunc_blend
alpha[skimage.morphology.binary_dilation(img == 0)] = 1
IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed
So my tiles now are in this disposition:
1_2_3_4
5___7_8
My tile 6 is missing, it could not be created. Ashlar should have a mechanism of ignoring a missing tile and jumping to the next one.
Hey,
I'm calling Ashlar with a Python wrapper for a set of tiff files in a folder. It fails if one tile is missing.
So my tiles now are in this disposition:
1_2_3_4
5___7_8
My tile 6 is missing, it could not be created. Ashlar should have a mechanism of ignoring a missing tile and jumping to the next one.
This is the code I'm using:
The text was updated successfully, but these errors were encountered: