Skip to content

Commit

Permalink
DOC: update to_fast docstring formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcar17 committed Apr 24, 2024
1 parent 9e4e37c commit 1bb75a2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cogent3/core/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
from cogent3.core.info import Info as InfoClass
from cogent3.core.profile import PSSM, MotifCountsArray
from cogent3.core.sequence import ArraySequence, Sequence, frac_same

# which is a circular import otherwise.
from cogent3.format.alignment import save_to_filename
from cogent3.format.fasta import alignment_to_fasta
Expand Down Expand Up @@ -990,14 +989,13 @@ def to_fasta(self, block_size: int = 60) -> str:
Parameters
----------
block_size : int, optional
block_size
the sequence length to write to each line,
by default 60
Returns
-------
str
The Fasta formatted alignment.
The Fasta formatted alignment.
"""
return alignment_to_fasta(self.to_dict(), block_size=block_size)

Expand Down

0 comments on commit 1bb75a2

Please sign in to comment.