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
Branches update_count_reads
No related tags found
No related merge requests found
......@@ -209,7 +209,8 @@ class LigandScorer:
else:
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment