We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 088ba74 + 8b85ab5 commit 703889eCopy full SHA for 703889e
2 files changed
CHANGELOG.MD
@@ -1,3 +1,9 @@
1
+# openpipeline_qc 0.2.2
2
+
3
+## BUG FIX
4
5
+* `src/ingestion_qc/h5mu_to_qc_json`: Use float32 instead of float16 for CosMx staining metrics to prevent overflow to infinity (PR #17).
6
7
# openpipeline_qc 0.2.0
8
9
## NEW FEATURES
src/ingestion_qc/h5mu_to_qc_json/script.py
@@ -307,7 +307,7 @@ def format_cosmx_columns(mod_obs):
307
if key in mod_obs:
308
if not pd.api.types.is_float_dtype(mod_obs[key]):
309
try:
310
- mod_obs[key] = mod_obs[key].astype("float16")
+ mod_obs[key] = mod_obs[key].astype("float32")
311
except ValueError:
312
logger.warning(f"Could not convert column {key} to a float dtype.")
313
0 commit comments