From 3b45117aab244b7dce5e756834474a1d4bfd5ccd Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavalias-github@xavier.robin.name>
Date: Tue, 23 May 2023 10:24:56 +0200
Subject: [PATCH] fix: commit the right version of the test script

The wrong file was committed in @fa25403e.
---
 docker/test_docker.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/docker/test_docker.py b/docker/test_docker.py
index 65e1bbac4..38bb6af55 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))
-- 
GitLab