Skip to content

Commit 55bf140

Browse files
explicit formatting for minipico lib conc column that is causing floating point differences in CI vs local test output
1 parent 1b1cb2c commit 55bf140

File tree

3 files changed

+117
-114
lines changed

3 files changed

+117
-114
lines changed

notebooks/tellseq_B_concentration_estimation.ipynb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@
454454
"metadata": {},
455455
"outputs": [],
456456
"source": [
457+
"# format MINIPICO_LIB_CONC_KEY column to avoid floating point weirdness, then write out\n",
458+
"plate_df[MINIPICO_LIB_CONC_KEY] = plate_df[MINIPICO_LIB_CONC_KEY].map(lambda x: f\"{x:.17g}\")\n",
459+
"\n",
457460
"plate_df.to_csv(plate_df_fp, sep='\\t', index=False)"
458461
]
459462
},

0 commit comments

Comments
 (0)