Skip to content

Commit

Permalink
corrected logic
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmoriarty committed May 16, 2019
1 parent ef6265d commit cabb46b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmtbx/monomer_library/linking_utils.py
Expand Up @@ -411,7 +411,9 @@ def is_atom_pair_linked(atom1,
if not linking_setup.skip_if_non_linking(lookup, atom1, atom2):
return False
else:
return is_atom_metal_coordinated(lookup, atom1, atom2)
if link_metals:
return is_atom_metal_coordinated(lookup, atom1, atom2)
return link_metals
#
# amino acids
#
Expand Down

0 comments on commit cabb46b

Please sign in to comment.