Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# openpipeline_qc 0.2.2

## BUG FIX

* `src/ingestion_qc/h5mu_to_qc_json`: Use float32 instead of float16 for CosMx staining metrics to prevent overflow to infinity (PR #17).

# openpipeline_qc 0.2.0

## NEW FEATURES
Expand Down
2 changes: 1 addition & 1 deletion src/ingestion_qc/h5mu_to_qc_json/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def format_cosmx_columns(mod_obs):
if key in mod_obs:
if not pd.api.types.is_float_dtype(mod_obs[key]):
try:
mod_obs[key] = mod_obs[key].astype("float16")
mod_obs[key] = mod_obs[key].astype("float32")
except ValueError:
logger.warning(f"Could not convert column {key} to a float dtype.")

Expand Down