Skip to content

Commit

Permalink
fix: use gzip compression after writing citation to h5ad (#6208)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayib-jose-gloria authored Nov 11, 2023
1 parent c240f67 commit 6d76629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/layers/processing/process_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def populate_dataset_citation(
)
adata = scanpy.read_h5ad(adata_path)
adata.uns["citation"] = citation
adata.write(adata_path)
adata.write(adata_path, compression="gzip")

@logit
def extract_metadata(self, filename) -> DatasetMetadata:
Expand Down

0 comments on commit 6d76629

Please sign in to comment.