From fff07e9de163c82ee43f38fc16fe2555ce92cc9c Mon Sep 17 00:00:00 2001 From: Christopher Rhodes <christopher.rhodes@embl.de> Date: Fri, 3 Nov 2023 09:20:13 +0100 Subject: [PATCH] Removed parenthesis --- extensions/ilastik/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/ilastik/models.py b/extensions/ilastik/models.py index 65057cca..1413456f 100644 --- a/extensions/ilastik/models.py +++ b/extensions/ilastik/models.py @@ -68,7 +68,7 @@ class IlastikPixelClassifierModel(IlastikImageToImageModel): ] pxmaps = self.shell.workflow.batchProcessingApplet.run_export(dsi, export_to_array=True) # [z x h x w x n] - assert(len(pxmaps) == 1, 'ilastik generated more than one pixel map') + assert len(pxmaps) == 1, 'ilastik generated more than one pixel map' yxcz = np.moveaxis( pxmaps[0], -- GitLab