Skip to content

Commit

Permalink
option without alignment (alignment_method: '0')
Browse files Browse the repository at this point in the history
  • Loading branch information
TahiriNadia authored Nov 19, 2024
1 parent ed0133a commit 0b015ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aphylogeo/alignement.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ def align(self) -> Alignment:
Returns:
Alignment: The alignment object
"""

if Params.alignment_method == "1":
if Params.alignment_method == "0":
heuristicMSA = self.sequences

elif Params.alignment_method == "1":
centroidKey = self.getSequenceCentroid()[0]
centroidSeq = self.sequences.pop(centroidKey)
aligned = self.alignSequencesWithPairwise(centroidKey, centroidSeq)
Expand Down

0 comments on commit 0b015ab

Please sign in to comment.