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

bugfix

parent b6138c04
No related branches found
No related tags found
No related merge requests found
...@@ -119,6 +119,7 @@ class Pipeline(ProcessABC): ...@@ -119,6 +119,7 @@ class Pipeline(ProcessABC):
conn.cache_logs(directory) conn.cache_logs(directory)
# Modify to the configuration # Modify to the configuration
self.parameters.general["directory"] = directory
config["general"]["directory"] = directory config["general"]["directory"] = directory
# Filter TODO integrate filter onto class and add regex # Filter TODO integrate filter onto class and add regex
...@@ -149,7 +150,6 @@ class Pipeline(ProcessABC): ...@@ -149,7 +150,6 @@ class Pipeline(ProcessABC):
except: except:
pass pass
session = initialise_tf(2)
# Run metadata first # Run metadata first
process_from = 0 process_from = 0
# if True: # not Path(filename).exists(): # if True: # not Path(filename).exists():
...@@ -167,7 +167,8 @@ class Pipeline(ProcessABC): ...@@ -167,7 +167,8 @@ class Pipeline(ProcessABC):
# tiler.n_processed = process_from # tiler.n_processed = process_from
writer = TilerWriter(filename) writer = TilerWriter(filename)
runner = BabyRunner(tiler, baby_config=config["baby"]) runner = BabyRunner(tiler) # , baby_config=config["baby"])
session = initialise_tf(2)
bwriter = BabyWriter(filename) bwriter = BabyWriter(filename)
params = ( params = (
Parameters.from_dict(config["extraction"]) Parameters.from_dict(config["extraction"])
......
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