Skip to content

Commit

Permalink
save n_masks to single-cell dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamaedler committed Jan 27, 2025
1 parent e72c336 commit 07098c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/scportrait/pipeline/extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,12 @@ def _transfer_tempmmap_to_hdf5(self):
dtype=h5py.special_dtype(vlen=str),
)

hf.create_dataset(
"n_masks",
data=self.n_masks,
dtype=int,
)

self.log("channel information created.")

# cleanup memory
Expand Down

0 comments on commit 07098c4

Please sign in to comment.