From bb636b67be90bc6db5fbc6e22268e9d5f5e08474 Mon Sep 17 00:00:00 2001 From: Thomas Kramer <code@tkramer.ch> Date: Mon, 29 Apr 2024 08:33:56 +0200 Subject: [PATCH] parametrize output directory --- src/lclayout/graphrouter/inspect.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lclayout/graphrouter/inspect.py b/src/lclayout/graphrouter/inspect.py index 7562cf6..61b7fbe 100644 --- a/src/lclayout/graphrouter/inspect.py +++ b/src/lclayout/graphrouter/inspect.py @@ -23,9 +23,10 @@ class InspectRouter(GraphRouter): def __init__(self, sub_graphrouter: GraphRouter, - plot_to_files = True): + plot_to_files = True, + output_dir: str = "/tmp"): self.sub_graphrouter = sub_graphrouter - self.output_dir = "/tmp" + self.output_dir = output_dir self.plot_to_files = plot_to_files self.iteration_count = 0 self._graph = None -- GitLab