Skip to content

Commit

Permalink
Fix bug where in creating fractions rows, the cohort identifier was n…
Browse files Browse the repository at this point in the history
…ot corrected to the externally-facing version.
  • Loading branch information
jimmymathews committed Jul 24, 2023
1 parent b284a3f commit f724e7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spatialprofilingtoolbox/db/fractions_and_associations.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def get_fractions_rows(self, study: str) -> list[CellFractionsAverage]:
(components.measurement, components.analysis),
)
rows = self.cursor.fetchall()
rows = _replace_stratum_identifiers(rows, study, column_index=2)
return [
CellFractionsAverage(**dict(zip(
['marker_symbol', 'multiplicity', 'stratum_identifier', 'average_percent'],
Expand Down

0 comments on commit f724e7f

Please sign in to comment.