diff --git a/src/api/create.py b/src/api/create.py index 30b1658..f2f41bc 100644 --- a/src/api/create.py +++ b/src/api/create.py @@ -192,7 +192,10 @@ def create_signals(self, data_path: Path): df["dimensions"] = df["dimensions"].map(lambda x: x.tolist()) df["url"] = ( - "s3://mast/level1/" + df["shot_id"].map(str) + ".zarr/" + df["name"] + "s3://mast/level1/shots/" + + df["shot_id"].map(str) + + ".zarr/" + + df["name"] ) uda_attributes = ["uda_name", "mds_name", "file_name", "format"] @@ -207,7 +210,7 @@ def create_sources(self, data_path: Path): source_metadata = source_metadata.drop_duplicates("uuid") source_metadata = source_metadata.loc[source_metadata.shot_id <= LAST_MAST_SHOT] source_metadata["url"] = ( - "s3://mast/level1/" + "s3://mast/level1/shots/" + source_metadata["shot_id"].map(str) + ".zarr/" + source_metadata["name"]