From 1726e17d43f010d39b59c11e9fd1ba5125438b4d Mon Sep 17 00:00:00 2001
From: amelia <asnyder@usgs.gov>
Date: Mon, 8 Apr 2024 10:07:23 -0500
Subject: [PATCH] make sure types are same on dim assertion

---
 .../examples/create_collection_from_zarr_conus404-daily.ipynb   | 2 +-
 workflows/examples/create_item_from_zarr_conus404-daily.ipynb   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/workflows/examples/create_collection_from_zarr_conus404-daily.ipynb b/workflows/examples/create_collection_from_zarr_conus404-daily.ipynb
index 51923ae5..046544f8 100644
--- a/workflows/examples/create_collection_from_zarr_conus404-daily.ipynb
+++ b/workflows/examples/create_collection_from_zarr_conus404-daily.ipynb
@@ -783,7 +783,7 @@
    "outputs": [],
    "source": [
     "# make sure you added all the right dims\n",
-    "assert dims_dict.keys() == dims"
+    "assert list(dims_dict.keys()) == dims"
    ]
   },
   {
diff --git a/workflows/examples/create_item_from_zarr_conus404-daily.ipynb b/workflows/examples/create_item_from_zarr_conus404-daily.ipynb
index 80ac6143..ecf96c9d 100644
--- a/workflows/examples/create_item_from_zarr_conus404-daily.ipynb
+++ b/workflows/examples/create_item_from_zarr_conus404-daily.ipynb
@@ -770,7 +770,7 @@
    "outputs": [],
    "source": [
     "# make sure you added all the right dims\n",
-    "assert dims_dict.keys() == dims"
+    "assert list(dims_dict.keys()) == dims"
    ]
   },
   {
-- 
GitLab