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
Pytest Style topology/test_gms.py #1588
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small details to fix.
filename = GMS_ASYMOPT | ||
expected_n_atoms = 6 | ||
|
||
def test_names(self, top): | ||
assert_array_equal(top.names.values, | ||
assert_equal(top.names.values, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next line should be align just after the parenthesis.
['O', 'H', 'H', 'O', 'H', 'H']) | ||
|
||
def test_types(self, top): | ||
assert_array_equal(top.atomiccharges.values, | ||
assert_equal(top.atomiccharges.values, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix alignment of the line bellow.
filename = GMS_SYMOPT | ||
expected_n_atoms = 4 | ||
|
||
def test_names(self, top): | ||
assert_array_equal(top.names.values, | ||
assert_equal(top.names.values, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix alignment bellow.
['CARBON', 'CARBON', 'HYDROGEN', 'HYDROGEN']) | ||
|
||
def test_types(self, top): | ||
assert_array_equal(top.atomiccharges.values, | ||
assert_equal(top.atomiccharges.values, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix alignment bellow.
Fixes #
Changes made in this Pull Request:
PR Checklist