HubLot/g_remove_water — pull request #3 by jbarnoud (2012-10-22 10:35:05+00:00)
Title: Aesthetic changes and unit tests

Some aesthetic changes in g_remove_water.py to comply with PEP 8.

Introduce unit tests. To run them, launch:

> python test_g_remove_water.py

or even better:

> nosetests test_g_remove_water.py

if you have the nosetests module installed.

Two tests are currently failing:
* in a tricky case an residue name can be in the header line causing a wrong answer from the find_ref_atom function
* the --radius option can take negative or nul values without complaining