diff --git a/pycytominer/cyto_utils/cells.py b/pycytominer/cyto_utils/cells.py index 780749d7..7fd8a7e4 100644 --- a/pycytominer/cyto_utils/cells.py +++ b/pycytominer/cyto_utils/cells.py @@ -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