Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue authored Jun 6, 2024
1 parent f4f1dce commit d05b53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convnwb/timestamps/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def fit_sync_alignment(sync_behav, sync_neural, score_thresh=0.9999,
y_pred = model.predict(x_test)

score = r2_score(y_test, y_pred)
bad_score_msg = 'This session has bad synchronization between.'
bad_score_msg = 'This session has bad synchronization alignment.'
if score < score_thresh:
if not ignore_poor_alignment:
raise ValueError(bad_score_msg)
Expand Down

0 comments on commit d05b53d

Please sign in to comment.