Skip to content
Snippets Groups Projects
Commit 5854de7a authored by Hugo CHAUVET's avatar Hugo CHAUVET :bicyclist:
Browse files

Replace IJmmlib.py correct bug MM2 multi-roi

parent 5dc1e914
No related branches found
No related tags found
1 merge request!3Dev
......@@ -14,9 +14,13 @@ def load_mm_images(rootdir, roi=1, tile=True, pos=False,
files into an ImageJ VirtualStack
"""
if tile:
metadata = load_metadata(os.path.join(rootdir, 'roi%i_tile1'%int(roi), 'metadata.txt'))
else:
metadata = load_metadata(rootdir)
mmversion = int(get_micromanager_version(metadata)[0])
dimensions = get_dimensions(metadata)
dimensions = get_dimensions(metadata, roi)
if mmversion == 1:
stack_order = ['position', 'z', 'time', 'channels']
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment