Skip to content

Commit

Permalink
Make is_fasta and is_fastq regular methods again
Browse files Browse the repository at this point in the history
  • Loading branch information
apcamargo committed Jan 22, 2025
1 parent 3770636 commit 9cdf8e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ impl Record {
}
}

#[getter]
pub fn is_fasta(&self) -> PyResult<bool> {
Ok(self.qual.is_none())
}

#[getter]
pub fn is_fastq(&self) -> PyResult<bool> {
Ok(self.qual.is_some())
}
Expand Down

0 comments on commit 9cdf8e5

Please sign in to comment.