Skip to content

Commit d2025c2

Browse files
committed
fix output write
1 parent 44f6171 commit d2025c2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/data_processors/process_dataset/script.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
# ...filter transcripts tables
4343

4444
# Save the single-cell data
45-
adata.write_h5ad(par["output_scrnaseq"])
45+
adata.write_h5ad(par["output_sc"], compression="gzip")
4646

4747
# remove directory if it exists
48-
if os.path.exists(par["output_ist"]):
49-
shutil.rmtree(par["output_ist"])
48+
if os.path.exists(par["output_sp"]):
49+
shutil.rmtree(par["output_sp"])
5050

5151
# Save the spatial data
52-
sdata.write(par["output_ist"], overwrite=True)
52+
sdata.write(par["output_sp"], overwrite=True)

0 commit comments

Comments
 (0)