Skip to content

Commit

Permalink
Change iteritems to item()
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber authored Aug 14, 2023
1 parent aa9fcbb commit 0bf6477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demuxEM/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ def run_pipeline(input_rna_file, input_hto_file, output_name, **kwargs):
# output summary statistics
print("\nSummary statistics:")
print("total\t{}".format(rna_data.shape[0]))
for name, value in rna_data.obs["demux_type"].value_counts().iteritems():
for name, value in rna_data.obs["demux_type"].value_counts().items():
print("{}\t{}".format(name, value))

0 comments on commit 0bf6477

Please sign in to comment.