Skip to content

Commit

Permalink
preview: read only h5ad
Browse files Browse the repository at this point in the history
  • Loading branch information
danilexn committed May 6, 2024
1 parent 27610b4 commit 3f6b98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openst/utils/preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _run_preview(args):
from openst.utils.file import check_file_exists

check_file_exists(args.h5_in)
adata = h5py.File(args.h5_in, 'r+')
adata = h5py.File(args.h5_in, 'r')

if args.file_structure:
logging.info(f"Showing structure from {args.h5_in}")
Expand Down

0 comments on commit 3f6b98b

Please sign in to comment.