Skip to content

Commit

Permalink
using NUMLP instead of MOLNT
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesKarwou authored Aug 31, 2022
1 parent c11babc commit a169312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parmed/charmm/psf.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def __init__(self, psf_name=None):
# Assign all of the atoms to molecules recursively
tmp = psfsections['MOLNT'][1]
tag_molecules(self)
if len(tmp) == len(self.atoms):
if len(psfsections["NUMLP NUMLPH"][1]) != 0:
# We have a CHARMM PSF file; now do NUMLP/NUMLPH sections
self._process_lonepair_section(psfsections["NUMLP NUMLPH"])
# Now process the NUMANISO records if this is a drude PSF
Expand Down

0 comments on commit a169312

Please sign in to comment.