From c74658778aa2c9cc17a106c1c50a8b06cbc74907 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk>
Date: Thu, 23 Jun 2022 13:56:56 +0100
Subject: [PATCH] cleanup

---
 aliby/pipeline.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/aliby/pipeline.py b/aliby/pipeline.py
index dc43eb6f..fa46f25d 100644
--- a/aliby/pipeline.py
+++ b/aliby/pipeline.py
@@ -337,7 +337,7 @@ class Pipeline(ProcessABC):
 
         return results
 
-    def create_pipeline(self, image_id, index=None):
+    def create_pipeline(self, image_id):
         config = self.parameters.to_dict()
         pparams = config
         name, image_id = image_id
@@ -563,7 +563,7 @@ class Pipeline(ProcessABC):
 
                                 # Step-specific actions
 
-                                if step=='tiler':
+                                if step == "tiler":
                                     if i == min_process_from:
                                         print(
                                             f"Found {steps['tiler'].n_traps} traps in {image.name}"
@@ -593,7 +593,6 @@ class Pipeline(ProcessABC):
                                     for k in ["masks", "labels"]:
                                         run_kwargs[step][k] = None
 
-
                         frac_clogged_traps = self.check_earlystop(
                             filename, earlystop, steps["tiler"].tile_size
                         )
-- 
GitLab