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

fix: commit the right version of the test script

The wrong file was committed in @fa25403e.
parent fa25403e
Branches
Tags
No related merge requests found
...@@ -13,15 +13,13 @@ else: ...@@ -13,15 +13,13 @@ else:
# load two biounits to compare # load two biounits to compare
ent_full = ost.io.LoadPDB('3ia3', remote=True) ent_full = ost.io.LoadPDB('3ia3', remote=True)
ent_1 = ent_full.Select('cname=A,D') ent_1 = ent_full.Select('cname=A,D')
ent_2 = ent_full.Select('cname=B') ent_2 = ent_full.Select('cname=B,C')
# get score # get score
ost.PushVerbosityLevel(3) ost.PushVerbosityLevel(3)
try: try:
scorer = scoring.Scorer(ent_1, ent_2) scorer = scoring.Scorer(ent_1, ent_2)
ost.LogScript('QSscore:', str(scorer.qs_global)) ost.LogScript('QSscore:', str(scorer.qs_global))
ost.LogScript('Chain mapping used:', str(scorer.chain_mapper)) ost.LogScript('Chain mapping used:', str(scorer.mapping.GetFlatMapping()))
print(dir(scorer.chain_mapper))
ost.LogScript('Chain mapping used:', str(scorer.chain_mapper))
except qsscoring.QSscoreError as ex: except qsscoring.QSscoreError 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('QSscore failed:', str(ex))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment