Skip to content

Commit

Permalink
Update cg/apps/lims/api.py
Browse files Browse the repository at this point in the history
Co-authored-by: Isak Ohlsson Ångnell <[email protected]>
  • Loading branch information
ChrOertlin and islean authored Dec 18, 2024
1 parent ba9c4f5 commit fcf9ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg/apps/lims/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def _get_negative_controls_from_list(samples: list[Sample]) -> list[Sample]:
return negative_controls

def get_sample_region_and_lab_code(self, sample_id: str) -> str:
"""Return the reqgion code and lab code for a sample formatted as a suffix string."""
"""Return the region code and lab code for a sample formatted as a prefix string."""
region_code: str = self.get_sample_attribute(lims_id=sample_id, key="region_code").split(
" "
)[0]
Expand Down

0 comments on commit fcf9ef9

Please sign in to comment.