Skip to content

Commit

Permalink
fix lookup for schema version
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaranville committed Dec 13, 2024
1 parent 67bf272 commit ff5c46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refl1d/bumps_interface/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ff5c46e

Please sign in to comment.