From f16c6b9f5930e3f5c7ca154121e78de23dd158fc Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:08:58 +0100 Subject: [PATCH] fix one cfg replacement for ok static typing --- brainglobe_workflows/cellfinder/cellfinder_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brainglobe_workflows/cellfinder/cellfinder_main.py b/brainglobe_workflows/cellfinder/cellfinder_main.py index 9e2cc4a7..04ec7663 100644 --- a/brainglobe_workflows/cellfinder/cellfinder_main.py +++ b/brainglobe_workflows/cellfinder/cellfinder_main.py @@ -185,8 +185,8 @@ def setup_workflow(input_config_path: Path) -> CellfinderConfig: # Instantiate a CellfinderConfig from the input json file # (assumes config is json serializable) - with open(input_config_path) as config: - config_dict = json.load(config) + with open(input_config_path) as c: + config_dict = json.load(c) config = CellfinderConfig(**config_dict) # Print info logs for status