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

PR: list recordables #121

Merged
merged 19 commits into from
Aug 19, 2021
Merged

PR: list recordables #121

merged 19 commits into from
Aug 19, 2021

Conversation

sanjayankur31
Copy link
Member

This should pass correctly 🤞

@sanjayankur31 sanjayankur31 self-assigned this Aug 4, 2021
@sanjayankur31 sanjayankur31 added S: ready for review Status: ready for review T: enhancement Type: enhancement labels Aug 4, 2021
@sanjayankur31
Copy link
Member Author

@pgleeson : ready now---looks like some conflicts had popped up in the other PR

tests/test_pynml.py Outdated Show resolved Hide resolved
Since we're only listing exposures here, we update the function name to
reflect this.
@sanjayankur31
Copy link
Member Author

Updated the function to clearly say that we only list paths for exposures at the moment.

@sanjayankur31
Copy link
Member Author

Requires LEMS/pylems#60 to be merged, since the function signature changed.

We now get this sort of output:

pytest -k test_recording_path_listing -s
============================================================== test session starts ===============================================================
platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /home/asinha/Documents/02_Code/00_mine/2020-OSB/NeuroML-software/pyNeuroML
collected 5 items / 3 deselected / 2 selected

tests/test_pynml.py pyNeuroML >>> pyneuroml.pynml - INFO - NeuroML LEMS definition files extracted to: /tmp/tmpyx5boi_w/NeuroML2CoreTypes/
IzhNet/IzhPop0[0]/iMemb
IzhNet/IzhPop0[0]/iSyn
IzhNet/IzhPop0[0]/u
IzhNet/IzhPop0[0]/v
IzhNet/explicitInput/pulseGen_0/i
.pyNeuroML >>> pyneuroml.pynml - INFO - NeuroML LEMS definition files extracted to: /tmp/tmpi1nbq6hx/NeuroML2CoreTypes/
single_hh_cell_network/pop0[0]/caConc
single_hh_cell_network/pop0[0]/caConcExt
single_hh_cell_network/pop0[0]/iCa
single_hh_cell_network/pop0[0]/iChannels
single_hh_cell_network/pop0[0]/iSyn
single_hh_cell_network/pop0[0]/spiking
single_hh_cell_network/pop0[0]/surfaceArea
single_hh_cell_network/pop0[0]/totSpecCap
single_hh_cell_network/pop0[0]/v
single_hh_cell_network/pop0[1]/caConc
single_hh_cell_network/pop0[1]/caConcExt
single_hh_cell_network/pop0[1]/iCa
single_hh_cell_network/pop0[1]/iChannels
single_hh_cell_network/pop0[1]/iSyn
single_hh_cell_network/pop0[1]/spiking
single_hh_cell_network/pop0[1]/surfaceArea
single_hh_cell_network/pop0[1]/totSpecCap
single_hh_cell_network/pop0[1]/v
single_hh_cell_network/pop1/0/caConc
single_hh_cell_network/pop1/0/caConcExt
single_hh_cell_network/pop1/0/iCa
single_hh_cell_network/pop1/0/iChannels
single_hh_cell_network/pop1/0/iSyn
single_hh_cell_network/pop1/0/spiking
single_hh_cell_network/pop1/0/surfaceArea
single_hh_cell_network/pop1/0/totSpecCap
single_hh_cell_network/pop1/0/v
single_hh_cell_network/pop1/1/caConc
single_hh_cell_network/pop1/1/caConcExt
single_hh_cell_network/pop1/1/iCa
single_hh_cell_network/pop1/1/iChannels
single_hh_cell_network/pop1/1/iSyn
single_hh_cell_network/pop1/1/spiking
single_hh_cell_network/pop1/1/surfaceArea
single_hh_cell_network/pop1/1/totSpecCap
single_hh_cell_network/pop1/1/v

Since 0.5.7 includes the necessary API additions for the functions used
here.
@pgleeson pgleeson merged commit 6ae61ed into development Aug 19, 2021
@sanjayankur31 sanjayankur31 deleted the feat/pr-list-recordables branch July 26, 2022 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: ready for review Status: ready for review T: enhancement Type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants