diff --git a/clodius/cli/aggregate.py b/clodius/cli/aggregate.py index 6e8a362..cd1f29b 100644 --- a/clodius/cli/aggregate.py +++ b/clodius/cli/aggregate.py @@ -901,8 +901,8 @@ def _bedgraph( def add_values_to_data_buffers(buffers_to_add, nan_buffers_to_add): curr_zoom = 0 - data_buffers[0] += buffers_to_add - nan_data_buffers[0] += nan_buffers_to_add + data_buffers[0] += buffers_to_add.astype(np.float64) + nan_data_buffers[0] += nan_buffers_to_add.astype(np.float64) curr_time = time.time() - t1 percent_progress = (positions[curr_zoom] + 1) / float(assembly_size)