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

fix: qsscoring.QSscoreError no longer raised

parent e9974d17
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,9 @@ try: ...@@ -23,9 +23,9 @@ try:
ost.LogScript('lDDT:', str(scorer.lddt)) ost.LogScript('lDDT:', str(scorer.lddt))
ost.LogScript('QSscore:', str(scorer.qs_global)) ost.LogScript('QSscore:', str(scorer.qs_global))
ost.LogScript('Chain mapping used:', str(scorer.mapping.GetFlatMapping())) ost.LogScript('Chain mapping used:', str(scorer.mapping.GetFlatMapping()))
except qsscoring.QSscoreError as ex: except Exception as ex:
# default handling: report failure and set score to 0 # default handling: report failure and set score to 0
ost.LogError('QSscore failed:', str(ex)) ost.LogError('Scoring failed:', str(ex))
qs_score = 0 qs_score = 0
print("OST is not working properly!") print("OST is not working properly!")
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment