File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
src/datasets/loaders/allen_brain_cell_atlas Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ argument_groups:
1818 - CTXsp
1919 - HPF
2020 - HY
21- - Isocortex-1
22- - Isocortex-2
23- - Isocortex-3
24- - Isocortex-4
21+ - Isocortex
2522 - MB
2623 - OLF
2724 - TH
Original file line number Diff line number Diff line change 7979print ("Downloading and reading expression matrices" , flush = True )
8080abca_data_subdir = "WMB-10Xv2"
8181abca_region_files = [
82- [file , region ]
82+ [re . sub ( r"/raw$" , "" , file ) , region ]
8383 for file in abc_cache .list_data_files (abca_data_subdir )
8484 for region in REGIONS
8585 if re .match (f"WMB-10Xv2-{ region } [\\ -0-9]*/raw" , file )
8686]
8787
8888adatas = []
89- for region , abca_data_file in abca_region_files :
89+ for region , file_name in abca_region_files :
9090 try :
91- print (f"Downloading file { abca_data_file } for region { region } " , flush = True )
91+ print (f"Downloading file { file_name } for region { region } " , flush = True )
9292 adata_path = abc_cache .get_data_path (
9393 directory = abca_data_subdir ,
94- file_name = abca_data_file
94+ file_name = file_name
9595 )
9696
9797 print (f"Reading file { adata_path } " , flush = True )
You can’t perform that action at this time.
0 commit comments