From d74167973a891c5ad5500406cabfc316ed73d9b2 Mon Sep 17 00:00:00 2001 From: arm61 Date: Wed, 14 Dec 2022 09:06:53 +0100 Subject: [PATCH] Small improvement to error messaging --- kinisi/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kinisi/parser.py b/kinisi/parser.py index 401d45c6..0f1078aa 100644 --- a/kinisi/parser.py +++ b/kinisi/parser.py @@ -80,7 +80,7 @@ def __init__(self, self.min_dt = self.step_skip * self.time_step min_dt_int = int(self.min_dt / (self.step_skip * self.time_step)) if min_dt_int >= drift_corrected.shape[1]: - raise ValueError('min_dt is greater than or equal to the maximum simulation length.') + raise ValueError('The passed min_dt is greater than or equal to the maximum simulation length.') if n_steps > (drift_corrected.shape[1] - min_dt_int) + 1: n_steps = int(drift_corrected.shape[1] - min_dt_int) + 1