Skip to content

Commit

Permalink
Fix bug in distributions stats
Browse files Browse the repository at this point in the history
  • Loading branch information
U8NWXD committed Apr 20, 2021
1 parent b49aca0 commit f9a12d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/make_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def _calculate_distribution_stats(
key_replicates = []
for replicate, _ in replicates_data:
key_replicates.append(replicate[key])
num_cells += len(replicate)
num_cells += len(replicate[key])
key_replicates_array = np.array(key_replicates) # type: ignore
q1, q2, q3 = np.percentile(
key_replicates_array,
Expand Down

0 comments on commit f9a12d5

Please sign in to comment.