Skip to content

Check the type of the connector argument to Projection, and provide a user-friendly error message#738

Merged
apdavison merged 1 commit into
NeuralEnsemble:masterfrom
apdavison:issue692
Nov 9, 2021
Merged

Check the type of the connector argument to Projection, and provide a user-friendly error message#738
apdavison merged 1 commit into
NeuralEnsemble:masterfrom
apdavison:issue692

Conversation

@apdavison

Copy link
Copy Markdown
Member

Also change the AssertionError when checking the synapse_type argument to a TypeError

Closes #692

… user-friendly error message.

Also change the AssertionError when checking the synapse_type argument to a TypeError

Closes NeuralEnsemble#692
@apdavison apdavison added this to the 0.10.0 milestone Nov 9, 2021
@apdavison apdavison merged commit fbc6349 into NeuralEnsemble:master Nov 9, 2021
@apdavison apdavison deleted the issue692 branch November 9, 2021 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error when providing a Connector type instead of an instance in mock.Projection

1 participant