From ff5c46e7b420d4bbfe26a645c28cb3fdd0c6787e Mon Sep 17 00:00:00 2001 From: Brian Benjamin Maranville Date: Fri, 13 Dec 2024 15:28:28 -0500 Subject: [PATCH] fix lookup for schema version --- refl1d/bumps_interface/migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refl1d/bumps_interface/migrations.py b/refl1d/bumps_interface/migrations.py index 01d9dc2f..60a4535e 100644 --- a/refl1d/bumps_interface/migrations.py +++ b/refl1d/bumps_interface/migrations.py @@ -20,7 +20,7 @@ def migrate( if from_version is None: libraries = serialized.get("libraries", {}) - from_version = libraries.get("refl1d", {}).get("schema", "0") + from_version = libraries.get("refl1d", {}).get("schema_version", "0") current_version = from_version while current_version != to_version: