Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions needletail.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class Record:

id: str
seq: str
name: str
description: Optional[str]
qual: Optional[str]

def is_fasta(self) -> bool:
Expand Down
6 changes: 3 additions & 3 deletions src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@ impl PyFastxReader {
/// all characters (including whitespaces) after the leading '@' character.
/// seq : str
/// A string representing the sequence.
/// qual : str, optional
/// A string representing the quality scores of the sequence. If the object
/// represents a FASTA record, this attribute will be `None`.
/// name : str
/// The name of the sequence record. This is the string before the first
/// whitespace character in the `id` attribute.
/// description : str, optional
/// The description of the sequence record. This is the string after the
/// first whitespace character in the `id` attribute. If the `id` attribute
/// contains no whitespace characters, this attribute will be `None`.
/// qual : str, optional
/// A string representing the quality scores of the sequence. If the object
/// represents a FASTA record, this attribute will be `None`.
///
/// Methods
/// -------
Expand Down
Loading