Skip to content

Commit

Permalink
further fix docstrings: return value on Edges.get, typo on Nodes.get
Browse files Browse the repository at this point in the history
  • Loading branch information
Joni Herttuainen committed Oct 19, 2023
1 parent 7bc54c8 commit 90447e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions bluepysnap/edges/edges.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ def get(self, edge_ids=None, properties=None): # pylint: disable=arguments-rena
If set to None ids are returned.
Returns:
generator: yields tuples of ``(<population_name>, pandas.DataFrame|pandas.Series)``:
- Series indexed by edge IDs if ``properties`` is scalar.
- DataFrame indexed by edge IDs if ``properties`` is list.
generator: yields tuples of ``(<population_name>, pandas.DataFrame)``:
- DataFrame indexed by CircuitEdgeIds containing the properties from ``properties``.
Notes:
The Edges.property_names function will give you all the usable properties
Expand Down
2 changes: 1 addition & 1 deletion bluepysnap/nodes/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def get(self, group=None, properties=None): # pylint: disable=arguments-differ
Returns:
generator: yields tuples of ``(<population_name>, pandas.DataFrame)``:
- DataFrame indexed by NodeCircuitIds containing the properties from ``properties``.
- DataFrame indexed by CircuitNodeIds containing the properties from ``properties``.
Notes:
The NodePopulation.property_names function will give you all the usable properties
Expand Down

0 comments on commit 90447e5

Please sign in to comment.