Skip to content

Add support for indexing and slicing in orm.Group.nodes iterator#2371

Merged
sphuber merged 1 commit into
aiidateam:provenance_redesignfrom
sphuber:fix_2370_group_nodes_indexing_slicing
Jan 8, 2019
Merged

Add support for indexing and slicing in orm.Group.nodes iterator#2371
sphuber merged 1 commit into
aiidateam:provenance_redesignfrom
sphuber:fix_2370_group_nodes_indexing_slicing

Conversation

@sphuber
Copy link
Copy Markdown
Contributor

@sphuber sphuber commented Jan 7, 2019

Fixes #2370

This allows one to directly get just a single or a slice of all the
nodes contained within a Group instead of having to iterate over it to
get the nodes of interest.

@sphuber sphuber requested a review from giovannipizzi January 7, 2019 16:27
@coveralls
Copy link
Copy Markdown

coveralls commented Jan 7, 2019

Coverage Status

Coverage decreased (-0.03%) to 68.87% when pulling 8995084 on sphuber:fix_2370_group_nodes_indexing_slicing into db31d44 on aiidateam:provenance_redesign.

@sphuber sphuber force-pushed the fix_2370_group_nodes_indexing_slicing branch from 4c0166b to 7aeb41f Compare January 7, 2019 17:56
This allows one to directly get just a single or a slice of all the
nodes contained within a `Group` instead of having to iterate over it to
get the nodes of interest.
@sphuber sphuber force-pushed the fix_2370_group_nodes_indexing_slicing branch from 7aeb41f to 8995084 Compare January 7, 2019 18:11
@sphuber sphuber merged commit 9cee73f into aiidateam:provenance_redesign Jan 8, 2019
@sphuber sphuber deleted the fix_2370_group_nodes_indexing_slicing branch January 8, 2019 10:40
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