Skip to content
Snippets Groups Projects
Commit 58bca504 authored by Arin Wongprommoon's avatar Arin Wongprommoon
Browse files

test(aliby): initialising dummy tiler

WHY IS THIS CHANGE NEEDED?:
- test dummy tiler, see if it crashes

REFERENCES:
- issue #53
parent 61b166b4
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,12 @@ def define_parser():
return parser
def initialise_dummy():
tiler_parameters = TilerParameters.default().to_dict()
dummy_tiler = Tiler.dummy(tiler_parameters)
return dummy_tiler
def initialise_objects(data_path, template=None):
image = ImageLocalOME(data_path)
tiler = Tiler.from_image(image, TilerParameters.default())
......@@ -53,6 +59,8 @@ if __name__ == "__main__":
parser = define_parser()
args = parser.parse_args()
dummy_tiler = initialise_dummy()
tiler = initialise_objects(args.root_dir, template=args.template)
if args.position is not None:
......
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