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

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

Conversation

sphuber
Copy link
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.

@coveralls
Copy link

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.

None yet

3 participants