Skip to content

Commit

Permalink
Merge pull request #2353 from DARMA-tasking/2352-add-latest-changes-t…
Browse files Browse the repository at this point in the history
…o-150-release

#2352: Add latest changes to 1.5.0 release
  • Loading branch information
nlslatt authored Sep 23, 2024
2 parents 3b10b0d + 2bcb450 commit 5dda75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/LBDatafile_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def validate_ids(field):
if 'seq_id' not in field and 'id' not in field:
raise ValueError('Either id (bit-encoded) or seq_id must be provided.')

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

return field
Expand Down

0 comments on commit 5dda75a

Please sign in to comment.