Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed May 20, 2022
1 parent 83af865 commit 4e53eed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pycytominer/cyto_utils/cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,11 @@ def merge_single_cells(
self.image_df.merge(sc_df, on=self.merge_cols, how="right")
# pandas rename performance may be improved using copy=False, inplace=False
# reference: https://ryanlstevens.github.io/2022-05-06-pandasColumnRenaming/
.rename(self.linking_col_rename, axis="columns", copy=False, inplace=False)
.rename(self.full_merge_suffix_rename, axis="columns", copy=False, inplace=False)
.rename(
self.linking_col_rename, axis="columns", copy=False, inplace=False
).rename(
self.full_merge_suffix_rename, axis="columns", copy=False, inplace=False
)
)
if single_cell_normalize:
# Infering features is tricky with non-canonical data
Expand Down

0 comments on commit 4e53eed

Please sign in to comment.