Skip to content

Commit

Permalink
Merge pull request #298 from DendrouLab/deevdevil88-patch-1
Browse files Browse the repository at this point in the history
Update run_filter.py
  • Loading branch information
bio-la authored Aug 27, 2024
2 parents 0bc49a4 + 7bfb4e4 commit 3db4ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panpipes/python_scripts/run_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def test_matching_df_ignore_cat(new_df, old_df):
# write out the per sample_id cell numbers
cell_counts_dict={}
for mm in mdata.mod.keys():
cell_counts_dict[mm] = mdata[mod].obs.sample_id.value_counts().to_frame('n_cells')
cell_counts_dict[mm] = mdata[mm].obs.sample_id.value_counts().to_frame('n_cells')

cell_counts = pd.concat(cell_counts_dict).reset_index().rename(
columns={"level_0": "modality", "level_1": "sample_id"})
Expand Down

0 comments on commit 3db4ccd

Please sign in to comment.