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

cleanup

parent 8bd5c0fe
No related branches found
No related tags found
No related merge requests found
...@@ -310,7 +310,6 @@ class Pipeline(ProcessABC): ...@@ -310,7 +310,6 @@ class Pipeline(ProcessABC):
try: try:
with h5py.File(filename, "r") as f: with h5py.File(filename, "r") as f:
steps["tiler"] = Tiler.from_hdf5(image, filename) steps["tiler"] = Tiler.from_hdf5(image, filename)
# s = Signal(filename)
legacy_get_last_tp = ( legacy_get_last_tp = (
{ # Function to support seg in ver < 0.24 { # Function to support seg in ver < 0.24
...@@ -428,9 +427,8 @@ class Pipeline(ProcessABC): ...@@ -428,9 +427,8 @@ class Pipeline(ProcessABC):
av_channels_wsub = av_channels.union( av_channels_wsub = av_channels.union(
[c + "_bgsub" for c in config["extraction"]["sub_bg"]] [c + "_bgsub" for c in config["extraction"]["sub_bg"]]
) )
for op, (input_ch, op_id, red_ext) in copy( tmp = copy(config["extraction"]["multichannel_ops"])
config["extraction"]["multichannel_ops"] for op, (input_ch, op_id, red_ext) in tmp.items():
).items():
if set(input_ch).difference(av_channels_wsub): if set(input_ch).difference(av_channels_wsub):
del config["extraction"]["multichannel_ops"][op] del config["extraction"]["multichannel_ops"][op]
......
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