diff --git a/docker/test_docker.py b/docker/test_docker.py index 65e1bbac41c3c9cbf73428d5bc0fe1971ffd5e10..38bb6af55fe40b7bbb326fb68aadf13ad92db17c 100644 --- a/docker/test_docker.py +++ b/docker/test_docker.py @@ -13,15 +13,13 @@ else: # load two biounits to compare ent_full = ost.io.LoadPDB('3ia3', remote=True) 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 ost.PushVerbosityLevel(3) try: scorer = scoring.Scorer(ent_1, ent_2) ost.LogScript('QSscore:', str(scorer.qs_global)) - ost.LogScript('Chain mapping used:', str(scorer.chain_mapper)) - print(dir(scorer.chain_mapper)) - ost.LogScript('Chain mapping used:', str(scorer.chain_mapper)) + ost.LogScript('Chain mapping used:', str(scorer.mapping.GetFlatMapping())) except qsscoring.QSscoreError as ex: # default handling: report failure and set score to 0 ost.LogError('QSscore failed:', str(ex))