Skip to content

Commit

Permalink
Merge branch 'master' of github.com:materialsproject/pymatgen
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdrichards committed Jul 18, 2013
2 parents f69c625 + 2372990 commit e17601b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pymatgen/analysis/tests/test_molecule_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
class MoleculeMatcherTest(unittest.TestCase):

def test_fit(self):
self.test_fit_with_mapper(IsomorphismMolAtomMapper())
self.test_fit_with_mapper(InchiMolAtomMapper())
self.fit_with_mapper(IsomorphismMolAtomMapper())
self.fit_with_mapper(InchiMolAtomMapper())

def test_get_rmsd(self):
mm = MoleculeMatcher()
Expand Down Expand Up @@ -72,7 +72,8 @@ def test_to_and_from_dict(self):
mm2 = MoleculeMatcher.from_dict(d)
self.assertEqual(d, mm2.to_dict)

def test_fit_with_mapper(self, mapper):

def fit_with_mapper(self, mapper):
coords = [[0.000000, 0.000000, 0.000000],
[0.000000, 0.000000, 1.089000],
[1.026719, 0.000000, -0.363000],
Expand Down

0 comments on commit e17601b

Please sign in to comment.