Skip to content
Merged

Atera #149

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/base/labels_nebius.config
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ process {
// Nebius gpu-node-group: NVIDIA L40S, 1 GPU, 8 CPUs, 32 GiB RAM
cpus = 6
accelerator = 1
memory = 26.GB
memory = 100.GB
disk = 200.GB
pod = [[nodeSelector: 'nebius.com/node-group-id=mk8snodegroup-e00t775jb99svb7k5r']]
containerOptions = { workflow.containerEngine == "singularity" ? '--nv':
Expand Down
7 changes: 6 additions & 1 deletion src/datasets/loaders/tenx_atera/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@
print(f"Extracting input zip to {tmpdirname}", flush=True)
with zipfile.ZipFile(par_input, "r") as zip_ref:
zip_ref.extractall(tmpdirname)
par_input = tmpdirname
# find the directory containing the Xenium output files (may be nested)
par_input = tmpdirname
for root, dirs, files in os.walk(tmpdirname):
if "cell_feature_matrix.h5" in files:
par_input = root
break

# read the data
sdata = xenium(
Expand Down
7 changes: 6 additions & 1 deletion src/datasets/loaders/tenx_xenium/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@
print(f"Extracting input zip to {tmpdirname}", flush=True)
with zipfile.ZipFile(par_input, "r") as zip_ref:
zip_ref.extractall(tmpdirname)
par_input = tmpdirname
# find the directory containing the Xenium output files (may be nested)
par_input = tmpdirname
for root, dirs, files in os.walk(tmpdirname):
if "cell_feature_matrix.h5" in files:
par_input = root
break

# read the data
sdata = xenium(
Expand Down
Loading