Skip to content

Commit

Permalink
Merge pull request #59 from molssi-seamm/dev
Browse files Browse the repository at this point in the history
Fixed bug with atom typing due to limit in matches.
  • Loading branch information
seamm authored May 29, 2022
2 parents de05660 + 24b8ddd commit 48d7433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seamm_ff_util/ff_assigner.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def assign(self, configuration):
ind_map[map_num - 1] = atom.GetIdx()
map_list = [ind_map[x] for x in sorted(ind_map)]

matches = molecule.GetSubstructMatches(pattern)
matches = molecule.GetSubstructMatches(pattern, maxMatches=6 * n_atoms)
logger.debug(atom_type + ": ")
if len(matches) > 0:
for match in matches:
Expand Down

0 comments on commit 48d7433

Please sign in to comment.