Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Oct 1, 2024
1 parent 284fff8 commit 1a4ee1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/datasets/loaders/allen_brain_cell_atlas/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@
print("Downloading and reading expression matrices", flush=True)
abca_data_subdir="WMB-10Xv2"
abca_region_files = [
[re.sub(r"/raw$", "", file), region]
for file in abc_cache.list_data_files(abca_data_subdir)
[file_name, region]
for file_name in abc_cache.list_data_files(abca_data_subdir)
for region in REGIONS
if re.match(f"WMB-10Xv2-{region}[\\-0-9]*/raw", file)
if re.match(f"WMB-10Xv2-{region}[\\-0-9]*/raw", file_name)
]

adatas = []
Expand Down

0 comments on commit 1a4ee1f

Please sign in to comment.