Skip to content

Commit

Permalink
Bug fix: how that was supposed to work for ligands.. without ligands …
Browse files Browse the repository at this point in the history
…being defined?!
  • Loading branch information
pafonine committed Dec 10, 2024
1 parent 974e7ac commit 4668e47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmtbx/ligands/electrons.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,7 @@ def run(pdb_filename=None,
raw_records=None,
return_formal_charges=False,
verbose=False,
cif_objects=None,
):
# legacy from Q|R...
if pdb_filename:
Expand All @@ -1028,6 +1029,7 @@ def run(pdb_filename=None,
working_params.pdb_interpretation.automatic_linking.link_metals=True
model = mmtbx.model.manager(
model_input = inp,
restraint_objects=cif_objects,
log = log,
)
model.process(make_restraints=True,
Expand Down

0 comments on commit 4668e47

Please sign in to comment.