Skip to content

Commit

Permalink
Always mention coupling edge in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrltz committed Oct 4, 2024
1 parent c64aa07 commit 42deb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meegsim/_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def check_coupling(coupling_edge, coupling_params, common_params, names, current
if not callable(method):
raise ValueError(
f'Expected coupling method to be a callable, '
f'got {type(method).__name__}'
f'got {type(method).__name__} for edge {coupling_edge}'
)

# Check that all required coupling parameters were specified for the selected method
Expand Down

0 comments on commit 42deb14

Please sign in to comment.