Skip to content

Commit

Permalink
Small improvement to error messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
arm61 committed Dec 14, 2022
1 parent dc998b6 commit d741679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kinisi/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d741679

Please sign in to comment.