Skip to content
Snippets Groups Projects
Commit 519ba3d3 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix broken clustalw binding

parent ac588a42
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False): ...@@ -41,7 +41,7 @@ def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False):
for seq_num,aln_seq in enumerate(aln.sequences): for seq_num,aln_seq in enumerate(aln.sequences):
if aln_seq.GetName()==sequence.GetName(): if aln_seq.GetName()==sequence.GetName():
break break
aln.SetSequenceOffset(seq_num,sequence.GetSequenceOffset()) aln.SetSequenceOffset(seq_num,sequence.offset)
if sequence.HasAttachedView(): if sequence.HasAttachedView():
aln.AttachView(seq_num,sequence.GetAttachedView().Copy()) aln.AttachView(seq_num,sequence.GetAttachedView().Copy())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment