Mercurial > repos > bgruening > chemical_datatypes
changeset 4:31d2baa37efe draft default tip
Uploaded
author | bgruening |
---|---|
date | Sat, 27 Apr 2013 09:03:16 -0400 |
parents | 287892c9c9db |
children | |
files | molecules.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/molecules.py Fri Apr 26 11:01:31 2013 -0400 +++ b/molecules.py Sat Apr 27 09:03:16 2013 -0400 @@ -73,7 +73,7 @@ class MOL( GenericMolFile ): file_ext = "mol" def sniff( self, filename ): - if count_special_lines("^M\s*END", filename) = 1: + if count_special_lines("^M\s*END", filename) == 1: return True else: return False