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: