From 95cedc90174dab18f3da90718e0496735071de9d Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Wed, 6 Jul 2022 15:30:38 -0400 Subject: [PATCH] Log a message when a Zarr doesn't need ingestion --- dandi/files.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dandi/files.py b/dandi/files.py index 379e32583..82052ccc6 100644 --- a/dandi/files.py +++ b/dandi/files.py @@ -1036,7 +1036,9 @@ def mkzarr() -> str: r = client.get(f"/zarr/{zarr_id}/") if r["status"] == "Complete": break - lgr.info("%s: Asset successfully uploaded", asset_path) + lgr.info("%s: Asset successfully uploaded", asset_path) + else: + lgr.info("%s: No changes made to Zarr", asset_path) yield {"status": "done", "asset": a}