Skip to content

Commit 5dda75a

Browse files
authored
Merge pull request #2353 from DARMA-tasking/2352-add-latest-changes-to-150-release
#2352: Add latest changes to 1.5.0 release
2 parents 3b10b0d + 2bcb450 commit 5dda75a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/LBDatafile_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def validate_ids(field):
88
if 'seq_id' not in field and 'id' not in field:
99
raise ValueError('Either id (bit-encoded) or seq_id must be provided.')
1010

11-
if field['migratable'] and 'seq_id' in field and 'collection_id' not in field:
11+
if field.get("migratable") is True and 'seq_id' in field and 'collection_id' not in field:
1212
raise ValueError('If an entity is migratable, it must have a collection_id')
1313

1414
return field

0 commit comments

Comments
 (0)