Skip to content

Commit

Permalink
Improve azimuth matrix cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
axdanbol committed Mar 26, 2024
1 parent a005bdb commit faaf02d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions containers/azimuth/context/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ def create_clean_matrix(
clean_obs = pandas.DataFrame(index=temp_index)
clean_matrix = matrix.copy()
clean_matrix.obs = clean_obs
clean_matrix.obsm = None
clean_matrix.obsp = None
clean_matrix.varm = None
clean_matrix.varp = None
clean_matrix.uns = {}

return clean_matrix

Expand Down
2 changes: 1 addition & 1 deletion containers/azimuth/context/run_azimuth.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ matrix_path <- args[1]
reference <- args[2]

# Annotate
options(timeout=60 * 60)
options(timeout=10 * 60)
output_data <- RunAzimuth(matrix_path, reference=reference)

# Save and convert to h5ad
Expand Down

0 comments on commit faaf02d

Please sign in to comment.