Skip to content
Snippets Groups Projects
Commit 26ff757f authored by tobias's avatar tobias
Browse files

small change to last commit

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2694 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent ac9b55e4
No related branches found
No related tags found
No related merge requests found
......@@ -13,11 +13,11 @@ def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False):
seq_list.AddSequence(seq1)
seq_list.AddSequence(seq2)
elif isinstance(seq1, str) and isinstance(seq2, str):
seq1=CreateSequence("seq1", seq1)
seq2=CreateSequence("seq2", seq2)
seqh1=CreateSequence("seq1", seq1)
seqh2=CreateSequence("seq2", seq2)
seq_list=seq.CreateSequenceList()
seq_list.AddSequence(seq1)
seq_list.AddSequence(seq2)
seq_list.AddSequence(seqh1)
seq_list.AddSequence(seqh2)
else:
LogError("WARNING: Specify at least two Sequences")
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment