Skip to content

Commit

Permalink
Note to myself
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Aug 13, 2024
1 parent fe96daa commit bc06d93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/api/resources/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def create_projection_adata(dataset_adata, dataset_id, projection_id):

# Associate with a filename to ensure AnnData is read in "backed" mode
# This creates the h5ad file if it does not exist
# TODO: If too many processes read from this file, it can throw a BlockingIOError. Eventually we should
# handle this by creating a copy of the file for each process, like a tempfile.
projection_adata.filename = projection_adata_path

return projection_adata
Expand Down

0 comments on commit bc06d93

Please sign in to comment.