Heyo - while testing out some custom repulsions for backbone atoms like CA and O, I noticed that the angstrom unit conversion check in calculate_hard_sphere_minima() specifies Angstroms but not angstroms, while just above this a value error is raised only for angstroms or nanometers. I'm not sure if this is a case where the user should be expected to read the docs and explicitly specify Angstroms. The unit conversion would originally not occur if 'angstroms' was specified, but the user would not be warned with a ValueError because the check above it would also pass. I don't know if this is important to fix, or if this is even the best way to do it, so we can discuss of course. If this not a needed fix then we can also just close this PR/branch too!
The only other thing is just a typo I found in one of the test names in test_trajectory.py.
3d154d9 looks even cleaner - I like it! Other than this, I have nothing else to add, so if you are happy I await the LGTM - if there is anything else to change, let me know!
Development:
[ ] Add tests
Checks:
nosetests
Heyo - while testing out some custom repulsions for backbone atoms like CA and O, I noticed that the angstrom unit conversion check in
calculate_hard_sphere_minima()
specifiesAngstroms
but notangstroms
, while just above this a value error is raised only forangstroms
ornanometers
. I'm not sure if this is a case where the user should be expected to read the docs and explicitly specifyAngstroms
. The unit conversion would originally not occur if 'angstroms' was specified, but the user would not be warned with aValueError
because the check above it would also pass. I don't know if this is important to fix, or if this is even the best way to do it, so we can discuss of course. If this not a needed fix then we can also just close this PR/branch too!The only other thing is just a typo I found in one of the test names in
test_trajectory.py
.