Skip to content
Snippets Groups Projects
Commit cc1fd0c0 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

fix(image): pass arguments for omero conn

parent 7917862b
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,9 @@ def get_examples_dir(): ...@@ -33,7 +33,9 @@ def get_examples_dir():
return files("aliby").parent.parent / "examples" / "tiler" return files("aliby").parent.parent / "examples" / "tiler"
def instatiate_image(source: t.Union[str, int, t.Dict[str, str], PosixPath]): def instatiate_image(
source: t.Union[str, int, t.Dict[str, str], PosixPath], **kwargs
):
"""Wrapper to instatiate the appropiate image """Wrapper to instatiate the appropiate image
Parameters Parameters
...@@ -48,7 +50,7 @@ def instatiate_image(source: t.Union[str, int, t.Dict[str, str], PosixPath]): ...@@ -48,7 +50,7 @@ def instatiate_image(source: t.Union[str, int, t.Dict[str, str], PosixPath]):
print(imz.data, img.metadata) print(imz.data, img.metadata)
""" """
return dispatch_image(source)(source) return dispatch_image(source)(source, **kwargs)
def dispatch_image(source: t.Union[str, int, t.Dict[str, str], PosixPath]): def dispatch_image(source: t.Union[str, int, t.Dict[str, str], PosixPath]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment