Skip to content

Commit

Permalink
use blob instead of identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Aug 16, 2024
1 parent b493892 commit d2c1104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dandi_s3_log_parser/_dandiset_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d2c1104

Please sign in to comment.