Dear ASHLAR devs,
I am trying to run ashlar on tiles imaged from MACSima instrument, and for some reason I am not able to run it. This was the command I used:
ashlar --output ./output.tif --align-channel 0 "fileseries|.|pattern=Cycle_{cycle:3}_Channel_{channel:1}_Frame_{series:1}.tif|overlap=0.075|pixel_size=0.65|width=2|height=2|layout=snake"
and the error I got
Stitching and registering input images
Cycle 0:
reading fileseries|.|pattern=Cycle_{cycle:3}_Channel_{channel:1}_Frame_{series:1}.tif|overlap=0.075|pixel_size=0.65|width=2|height=2|layout=snake
Traceback (most recent call last):
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\Scripts\ashlar.exe\__main__.py", line 7, in
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\scripts\ashlar.py", line 212, in main
return process_single(
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\scripts\ashlar.py", line 243, in process_single
edge_aligner.run()
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\reg.py", line 484, in run
self.compute_threshold()
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\reg.py", line 584, in compute_threshold
_, errors[i] = utils.register(img1, img2, self.filter_sigma, upsample=1)
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\utils.py", line 23, in register
shift = skimage.registration.phase_cross_correlation(
File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\skimage\registration\_phase_cross_correlation.py", line 225, in phase_cross_correlation
raise ValueError("images must be same shape")
ValueError: images must be same shape
conda list:
ashlar_conda_list.txt
Here you can see my test files, and the jupyter notebook that I used to regex the filenames.
https://filetransfer.mdc-berlin.de/?u=8Ek6pcgQ&p=7Xx3qkMZ
It is a simple 4 tile ROI. However it does follow a different imaging path (see image):

Thanks in advance for the help.
Best,
Jose
Dear ASHLAR devs,
I am trying to run ashlar on tiles imaged from MACSima instrument, and for some reason I am not able to run it. This was the command I used:
ashlar --output ./output.tif --align-channel 0 "fileseries|.|pattern=Cycle_{cycle:3}_Channel_{channel:1}_Frame_{series:1}.tif|overlap=0.075|pixel_size=0.65|width=2|height=2|layout=snake"and the error I got
Stitching and registering input images Cycle 0: reading fileseries|.|pattern=Cycle_{cycle:3}_Channel_{channel:1}_Frame_{series:1}.tif|overlap=0.075|pixel_size=0.65|width=2|height=2|layout=snake Traceback (most recent call last): File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\Scripts\ashlar.exe\__main__.py", line 7, in File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\scripts\ashlar.py", line 212, in main return process_single( File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\scripts\ashlar.py", line 243, in process_single edge_aligner.run() File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\reg.py", line 484, in run self.compute_threshold() File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\reg.py", line 584, in compute_threshold _, errors[i] = utils.register(img1, img2, self.filter_sigma, upsample=1) File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\ashlar\utils.py", line 23, in register shift = skimage.registration.phase_cross_correlation( File "C:\Users\jnimoca\Jose_BI\Anaconda\envs\ashlar\lib\site-packages\skimage\registration\_phase_cross_correlation.py", line 225, in phase_cross_correlation raise ValueError("images must be same shape") ValueError: images must be same shapeconda list:
ashlar_conda_list.txt
Here you can see my test files, and the jupyter notebook that I used to regex the filenames.
https://filetransfer.mdc-berlin.de/?u=8Ek6pcgQ&p=7Xx3qkMZ
It is a simple 4 tile ROI. However it does follow a different imaging path (see image):

Thanks in advance for the help.
Best,
Jose