Skip to content

Commit

Permalink
Fix obs join in azimuth for conflicting columns
Browse files Browse the repository at this point in the history
  • Loading branch information
axdanbol committed Oct 27, 2023
1 parent cd8eb3f commit 22fd51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/azimuth/context/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def create_clean_matrix(self, matrix: anndata.AnnData):
def copy_annotations(
self, matrix: anndata.AnnData, annotated_matrix: anndata.AnnData
):
matrix.obs = matrix.obs.join(annotated_matrix.obs)
matrix.obs = matrix.obs.join(annotated_matrix.obs, rsuffix="_azimuth")

def run_azimuth_scripts(self, matrix_path: Path, reference_data: Path):
script_command = ["Rscript", "/run_azimuth.R", matrix_path, reference_data]
Expand Down

0 comments on commit 22fd51e

Please sign in to comment.