Skip to content

Commit 3505aa7

Browse files
authored
Update Record signature (#112)
1 parent 85c18b5 commit 3505aa7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

needletail.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ class Record:
6363

6464
id: str
6565
seq: str
66+
name: str
67+
description: Optional[str]
6668
qual: Optional[str]
6769

6870
def is_fasta(self) -> bool:

src/python.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@ impl PyFastxReader {
103103
/// all characters (including whitespaces) after the leading '@' character.
104104
/// seq : str
105105
/// A string representing the sequence.
106-
/// qual : str, optional
107-
/// A string representing the quality scores of the sequence. If the object
108-
/// represents a FASTA record, this attribute will be `None`.
109106
/// name : str
110107
/// The name of the sequence record. This is the string before the first
111108
/// whitespace character in the `id` attribute.
112109
/// description : str, optional
113110
/// The description of the sequence record. This is the string after the
114111
/// first whitespace character in the `id` attribute. If the `id` attribute
115112
/// contains no whitespace characters, this attribute will be `None`.
113+
/// qual : str, optional
114+
/// A string representing the quality scores of the sequence. If the object
115+
/// represents a FASTA record, this attribute will be `None`.
116116
///
117117
/// Methods
118118
/// -------

0 commit comments

Comments
 (0)