Skip to content
Snippets Groups Projects
Verified Commit bb71a41a authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: SCHWED-5783 update only if used

parent 8eb70141
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,8 @@ class LigandScorer: ...@@ -209,7 +209,8 @@ class LigandScorer:
else: else:
raise RuntimeError("Ligands should be given as Entity or Residue") raise RuntimeError("Ligands should be given as Entity or Residue")
new_editor.UpdateICS() if new_editor is not None:
new_editor.UpdateICS()
return extracted_ligands return extracted_ligands
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment