Skip to content

Commit 1a4ee1f

Browse files
committed
fix script
1 parent 284fff8 commit 1a4ee1f

File tree

1 file changed

+3
-3
lines changed
  • src/datasets/loaders/allen_brain_cell_atlas

1 file changed

+3
-3
lines changed

src/datasets/loaders/allen_brain_cell_atlas/script.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@
7979
print("Downloading and reading expression matrices", flush=True)
8080
abca_data_subdir="WMB-10Xv2"
8181
abca_region_files = [
82-
[re.sub(r"/raw$", "", file), region]
83-
for file in abc_cache.list_data_files(abca_data_subdir)
82+
[file_name, region]
83+
for file_name in abc_cache.list_data_files(abca_data_subdir)
8484
for region in REGIONS
85-
if re.match(f"WMB-10Xv2-{region}[\\-0-9]*/raw", file)
85+
if re.match(f"WMB-10Xv2-{region}[\\-0-9]*/raw", file_name)
8686
]
8787

8888
adatas = []

0 commit comments

Comments
 (0)