-
Notifications
You must be signed in to change notification settings - Fork 53
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
[MRG] GUI update init network #853
[MRG] GUI update init network #853
Conversation
@ntolley We need to discuss this one. The work on this PR derived from finding that the number of connections did not match the input file that is loaded into the GUI. We noticed that there were more connections in the GUI-derived network compared to an api network when both used the This made sense in the context of the So it seems the equivalency is dependent on the how the input file was constructed (supplying the API 0 placeholders or not). I don't think we can rely on a definitive |
c8a9b3c
to
b851105
Compare
…ues from drive input widgets.
…widget_to_dict function for readability.
Filters the poisson widget values for only positive weights and assoicated rate constants. This is because the add_poisson_drive method cannot accept rate constants of 0.
…lter_poisson_inputs function
Updated with 0 weights for cells for alpha_prox bursty drive. This will help with GUI tests checking the equivalency of GUI vs api generated networks and.
Testing equvalency between GUI generated network and api generated network required looking at individual attributes of the Networks. Full network comparison will not work because of values that change in the GUI like tstop. Planned work is also going to address some like connectivity and bursty drive differences.
…values for other cells
Tonics have a tstop and so it required extra logic to not compare tstop to the api network.
d0b4a1c
to
bca5d84
Compare
Just to document offline discussion.
|
Updated with 0 weights for cells for poisson drive. This will help with GUI tests checking the equivalency of GUI vs api generated networks and.
This function was needed once we updated the test input file with 0 values. Now poisson is treated the same way as the other drives.
Update of the
_init_network_from_widgets
functionWork done:
_init_network_from_widgets
by abstracting logic of getting values from drive widgets to_drive_widget_to_dict