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

feat: SCHWED-5954 log unassigned ligands

parent 131d149a
No related branches found
No related tags found
No related merge requests found
......@@ -908,6 +908,8 @@ class LigandScorer:
"reason_long": reason[1],
main_key[i]: None,
}
LogInfo("Model ligand %s is unassigned: %s" % (
mdl_lig.qualified_name, reason[1]))
for trg_idx in unassigned_trg_idx:
trg_lig = self.target_ligands[trg_idx]
......@@ -917,6 +919,8 @@ class LigandScorer:
if trg_cname not in unassigned_trg:
unassigned_trg[trg_cname] = {}
unassigned_trg[trg_cname][trg_resnum] = reason
LogInfo("Target ligand %s is unassigned: %s" % (
trg_lig.qualified_name, reason[1]))
return unassigned_trg, unassigned_mdl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment