From d2c110481c3c7e0ee31d3d0928c6f1f6bbfe8bbe Mon Sep 17 00:00:00 2001 From: CodyCBakerPhD Date: Fri, 16 Aug 2024 03:26:10 -0400 Subject: [PATCH] use blob instead of identifier --- src/dandi_s3_log_parser/_dandiset_mapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dandi_s3_log_parser/_dandiset_mapper.py b/src/dandi_s3_log_parser/_dandiset_mapper.py index 4709df2..737a04f 100644 --- a/src/dandi_s3_log_parser/_dandiset_mapper.py +++ b/src/dandi_s3_log_parser/_dandiset_mapper.py @@ -77,7 +77,7 @@ def _map_reduced_logs_to_dandiset( asset_suffixes = pathlib.Path(asset.path).suffixes is_asset_zarr = ".zarr" in asset_suffixes - blob_id = asset.identifier if not is_asset_zarr else asset.zarr + blob_id = asset.blob if not is_asset_zarr else asset.zarr blobs_or_zarr = "blobs" if not is_asset_zarr else "zarr" reduced_log_file_path = reduced_s3_logs_folder_path / f"{blobs_or_zarr}_{blob_id}.tsv"