diff --git a/needletail.pyi b/needletail.pyi index 7fa5e1e..50f6c52 100644 --- a/needletail.pyi +++ b/needletail.pyi @@ -63,6 +63,8 @@ class Record: id: str seq: str + name: str + description: Optional[str] qual: Optional[str] def is_fasta(self) -> bool: diff --git a/src/python.rs b/src/python.rs index bfe9ab7..e7f0d6d 100644 --- a/src/python.rs +++ b/src/python.rs @@ -103,9 +103,6 @@ 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. @@ -113,6 +110,9 @@ impl PyFastxReader { /// 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 /// -------