Skip to content

Commit

Permalink
Minor bugfix to pre-set column type in GenerateBatchMetrics (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjaisingh authored Nov 5, 2024
1 parent fb6720a commit bf73774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svtk/svtk/pesr/pesr_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def normalize_counts(self, counts, target_cov=60):
counts = pd.merge(counts, self.medians, on='sample', how='left')
counts['norm_count'] = counts['count'] * \
target_cov / counts['median_cov']
counts['count'] = counts['norm_count'].round()
counts['count'] = counts['norm_count'].astype(float).round()
counts.drop(['norm_count', 'median_cov'], axis=1, inplace=True)

return counts
Expand Down

0 comments on commit bf73774

Please # to comment.