Skip to content

Commit

Permalink
one
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrOertlin committed Apr 11, 2024
1 parent 4fe1b5c commit f9cde7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genotype_api/database/crud/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_analysis_by_type_and_sample_id(self, analysis_type: str, sample_id: str)
return (
self.session.query(Analysis)
.filter(Analysis.sample_id == sample_id, Analysis.type == analysis_type)
.one()
.first()
)

def get_plate_by_id(self, plate_id: int) -> Plate:
Expand Down

0 comments on commit f9cde7e

Please sign in to comment.