molmod / QuickFF

A Python code to quickly derive ab initio parameterized force fields.
GNU General Public License v3.0
38 stars 15 forks source link

Solve FutureWarning comparison to None #4

Closed tovrstra closed 8 years ago

tovrstra commented 8 years ago

I got a lot of these lines in my output:

quickff/quickff/valence.py:396: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.

This patch takes care of the warning.