Skip to content

Commit 4927616

Browse files
committed
Mopac PM6 and PM7 now inherit from the correct class.
Came across this while writing the unit test. The original setup had the individual MOPAC methods inheriting from a base class MopacMol. However this was altered to avoid code repetition. The PM3 method was correctly defined, but the PM6 and PM7 methods are now correct.
1 parent 086f300 commit 4927616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rmgpy/qm/mopac.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class MopacMolPM3(MopacMolPMn):
285285
"""
286286
pm_method = 'pm3'
287287

288-
class MopacMolPM6(MopacMol):
288+
class MopacMolPM6(MopacMolPMn):
289289
"""
290290
Mopac PM6 calculations for molecules
291291
@@ -294,7 +294,7 @@ class MopacMolPM6(MopacMol):
294294
"""
295295
pm_method = 'pm6'
296296

297-
class MopacMolPM7(MopacMol):
297+
class MopacMolPM7(MopacMolPMn):
298298
"""
299299
Mopac PM7 calculations for molecules
300300

0 commit comments

Comments
 (0)