From 4b77e5d8b1ed450e0ac7de24665d5121aa3657e2 Mon Sep 17 00:00:00 2001
From: Gabriel Studer <gabriel.studer@unibas.ch>
Date: Thu, 6 Mar 2025 23:59:11 +0100
Subject: [PATCH] fix unit test

The requirement for resnum_alignments=True in case of provided
SEQRES information is not enforced anymore.
---
 modules/mol/alg/tests/test_chain_mapping.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/mol/alg/tests/test_chain_mapping.py b/modules/mol/alg/tests/test_chain_mapping.py
index 8cca758f1..e03ee7a07 100644
--- a/modules/mol/alg/tests/test_chain_mapping.py
+++ b/modules/mol/alg/tests/test_chain_mapping.py
@@ -426,10 +426,6 @@ class TestChainMapper(unittest.TestCase):
     with self.assertRaises(RuntimeError):
         ChainMapper(ref, trg_seqres_mapping=trg_seqres_mapping)
 
-    with self.assertRaises(RuntimeError):
-        ChainMapper(ref, seqres=seqres,
-                    trg_seqres_mapping=trg_seqres_mapping)
-
     seqres_duplicate = seq.CreateSequenceList()
     seqres_duplicate.AddSequence(seq.CreateSequence("1", "GAMDMKALQKELEQFAKLLKQKRITLGYTQA"
                                                "DVGLTLGVLFGKVFSQTTISRFEALQLSLKN"
-- 
GitLab