From 7e5d60c8a2e557f7742a33bd9ed3f8a3b8bb788b Mon Sep 17 00:00:00 2001 From: Marco Biasini <marco.biasini@unibas.ch> Date: Fri, 22 Oct 2010 13:26:42 +0200 Subject: [PATCH] fix broken clustalw binding --- modules/bindings/pymod/clustalw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bindings/pymod/clustalw.py b/modules/bindings/pymod/clustalw.py index a1327ee7e..f61d4f24f 100644 --- a/modules/bindings/pymod/clustalw.py +++ b/modules/bindings/pymod/clustalw.py @@ -41,7 +41,7 @@ def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False): for seq_num,aln_seq in enumerate(aln.sequences): if aln_seq.GetName()==sequence.GetName(): break - aln.SetSequenceOffset(seq_num,sequence.GetSequenceOffset()) + aln.SetSequenceOffset(seq_num,sequence.offset) if sequence.HasAttachedView(): aln.AttachView(seq_num,sequence.GetAttachedView().Copy()) -- GitLab