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

Iterative get_atoms #29

Merged
merged 2 commits into from
Dec 29, 2022
Merged

Iterative get_atoms #29

merged 2 commits into from
Dec 29, 2022

Conversation

MichaelJFishman
Copy link
Collaborator

Made get_atoms iterative rather than recursive.

Added an extra test for get_atoms and moved the tests to test_utils.py

The tests pass with the old and new version of get_atoms.

The tests are not exhaustive.

Iterative version of get_atoms
oo_scoping/tests/test_utils.py Outdated Show resolved Hide resolved
oo_scoping/utils.py Outdated Show resolved Hide resolved
oo_scoping/utils.py Outdated Show resolved Hide resolved
oo_scoping/tests/test_utils.py Outdated Show resolved Hide resolved
Formatted test_utils.py
Copy link
Collaborator

@camall3n camall3n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@camall3n camall3n merged commit 47fc495 into master Dec 29, 2022
@camall3n camall3n deleted the iterative_get_atoms branch December 29, 2022 20:29
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.

2 participants