@@ -1253,7 +1253,7 @@ def __init__(self, adata_path=None, adata_url=None, adata_store=None, adata_arti
12531253 self .zarr_folder = 'anndata.zarr'
12541254 if '.zip' in str (adata_path ):
12551255 self .is_zip = True
1256- self .zarr_folder = 'anndata.zarr.zip'
1256+ # self.zarr_folder = 'anndata.zarr.zip'
12571257 elif adata_url is not None or adata_artifact is not None :
12581258 self .is_remote = True
12591259 self .is_store = False
@@ -1274,6 +1274,7 @@ def __init__(self, adata_path=None, adata_url=None, adata_store=None, adata_arti
12741274
12751275 self .local_dir_uid = make_unique_filename (".adata.zarr" )
12761276 self .local_file_uid = make_unique_filename (".h5ad" )
1277+ self .local_file_uid_zarr = make_unique_filename ('.zarr.zip' )
12771278 self .local_ref_uid = make_unique_filename (".ref.json" )
12781279
12791280 self ._expression_matrix = obs_feature_matrix_path
@@ -1361,7 +1362,7 @@ def get_anndata_zarr(base_url):
13611362 if len (options .keys ()) > 0 :
13621363 if self .is_h5ad :
13631364 options ["refSpecUrl" ] = self .get_ref_url (base_url , dataset_uid , obj_i )
1364-
1365+ print ( ft . ANNDATA_ZIPPED_ZARR . value )
13651366 obj_file_def = {
13661367 "fileType" : ft .ANNDATA_ZIPPED_ZARR .value if self .is_zip else ft .ANNDATA_H5AD .value if self .is_h5ad else ft .ANNDATA_ZARR .value ,
13671368 "url" : self .get_zarr_url (base_url , dataset_uid , obj_i ) if not self .is_h5ad else self .get_h5ad_url (base_url , dataset_uid , obj_i ),
0 commit comments