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

cleanup

parent efb4407a
No related branches found
No related tags found
No related merge requests found
...@@ -337,7 +337,7 @@ class Pipeline(ProcessABC): ...@@ -337,7 +337,7 @@ class Pipeline(ProcessABC):
return results return results
def create_pipeline(self, image_id, index=None): def create_pipeline(self, image_id):
config = self.parameters.to_dict() config = self.parameters.to_dict()
pparams = config pparams = config
name, image_id = image_id name, image_id = image_id
...@@ -563,7 +563,7 @@ class Pipeline(ProcessABC): ...@@ -563,7 +563,7 @@ class Pipeline(ProcessABC):
# Step-specific actions # Step-specific actions
if step=='tiler': if step == "tiler":
if i == min_process_from: if i == min_process_from:
print( print(
f"Found {steps['tiler'].n_traps} traps in {image.name}" f"Found {steps['tiler'].n_traps} traps in {image.name}"
...@@ -593,7 +593,6 @@ class Pipeline(ProcessABC): ...@@ -593,7 +593,6 @@ class Pipeline(ProcessABC):
for k in ["masks", "labels"]: for k in ["masks", "labels"]:
run_kwargs[step][k] = None run_kwargs[step][k] = None
frac_clogged_traps = self.check_earlystop( frac_clogged_traps = self.check_earlystop(
filename, earlystop, steps["tiler"].tile_size filename, earlystop, steps["tiler"].tile_size
) )
......
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