From 30d6098aa076da7ad9b3e7eb7b8de63c1a585b1f Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Fri, 13 Jun 2025 18:15:46 +0100 Subject: [PATCH] Linting --- galvani/BioLogic.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/galvani/BioLogic.py b/galvani/BioLogic.py index 2952b49..ad2e523 100644 --- a/galvani/BioLogic.py +++ b/galvani/BioLogic.py @@ -633,7 +633,10 @@ class MPRfile: if col.startswith("unknown_colID"): unknown_cols.append(col) if len(unknown_cols) > 3: - raise RuntimeError("Too many unknown columns to attempt to read combinatorially: %s" % unknown_cols) + raise RuntimeError( + "Too many unknown columns to attempt to read combinatorially: %s" + % unknown_cols + ) if unknown_cols: # create a list of all possible combinations of dtypes @@ -653,7 +656,11 @@ class MPRfile: except ValueError: continue else: - raise RuntimeError("Unable to read data for unknown columns %s with any of the common dtypes %s", unknown_cols, UNKNOWN_COLUMN_TYPE_HIERARCHY) + raise RuntimeError( + "Unable to read data for unknown columns %s with any of the common dtypes %s", + unknown_cols, + UNKNOWN_COLUMN_TYPE_HIERARCHY + ) else: self.dtype = np.dtype(dtypes)