Skip to content

Commit

Permalink
remove unwanted columns
Browse files Browse the repository at this point in the history
  • Loading branch information
dawe committed Oct 12, 2023
1 parent b92a8f3 commit 59e83f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schist/tools/_affinity_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ def label_transfer(
# transfer is within dataset
adata_merge.obs[obs] = adata_merge.obs[f'_{obs}_tmp'].values
adata_merge.obs.drop(f'_{obs}_tmp', axis='columns', inplace=True)
adata_merge.obs.drop('_label_transfer', axis='columns', inplace=True)
adata = adata_merge

# ensure that it is categorical with proper order
Expand Down

0 comments on commit 59e83f8

Please sign in to comment.