From c5a3f652310e337b4dbda1425967921b27e9a495 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 14:30:22 +0000 Subject: [PATCH] style(pre-commit.ci): auto fixes [...] --- src/careamics/models/ind_channel_model.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/careamics/models/ind_channel_model.py b/src/careamics/models/ind_channel_model.py index 05704c5d8..a79615988 100644 --- a/src/careamics/models/ind_channel_model.py +++ b/src/careamics/models/ind_channel_model.py @@ -1,4 +1,5 @@ """For creating networks that train independent models for each channel.""" + from operator import getitem, setitem from typing import Any, Dict, Type @@ -46,9 +47,7 @@ def __init__( in_channels = getitem(model_kwargs, in_channels_keyword) except AttributeError as e: raise ValueError( - "Input channels keyword, '{}', not found in model_kwargs".format( - in_channels_keyword - ) + f"Input channels keyword, '{in_channels_keyword}', not found in model_kwargs" ) from e # Create a copy of the model config but for a single channel