Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port delay re-draw fix #10

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

otcathatsya
Copy link
Contributor

@otcathatsya otcathatsya commented Apr 10, 2024

@otcathatsya otcathatsya changed the title Port delay re-draw fix Port microcircuit delay re-draw fix Apr 10, 2024
@ackurth ackurth self-assigned this Apr 10, 2024
@ackurth ackurth self-requested a review April 10, 2024 14:29
@otcathatsya otcathatsya changed the title Port microcircuit delay re-draw fix Port delay re-draw fix Jun 19, 2024
@@ -671,7 +672,7 @@ def connect(simulation,
mean=mean_delay,
std=mean_delay * network.params['delay_params']['delay_rel']
),
min=simulation.params['dt'],
min=dt - 0.5 * dt,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works if dt=nest.resolution. Subtract nest.resolution instead of dt.

Copy link
Collaborator

@mlober mlober left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Catherine. This looks good to me now.

Copy link
Collaborator

@ackurth ackurth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for the changes :)

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.

3 participants