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

add run_tp

parent 09d53e14
No related branches found
No related tags found
No related merge requests found
...@@ -430,6 +430,12 @@ class Extractor(ProcessABC): ...@@ -430,6 +430,12 @@ class Extractor(ProcessABC):
elif channel in self.img_bgsub: elif channel in self.img_bgsub:
return self.img_bgsub[channel] return self.img_bgsub[channel]
def run_tp(self, tp, **kwargs):
"""
Wrapper to add compatiblibility with other pipeline steps
"""
return self.run(tps=[tp], **kwargs)
def run(self, tree=None, tps: List[int] = None, save=True, **kwargs) -> dict: def run(self, tree=None, tps: List[int] = None, save=True, **kwargs) -> dict:
if tree is None: if tree is 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