Skip to content

Commit

Permalink
#425: Cast int to str
Browse files Browse the repository at this point in the history
  • Loading branch information
priscavdsluis committed Nov 22, 2022
1 parent 59ca1b3 commit d169a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrolib/core/io/dflowfm/bc/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _to_properties(self):
yield Property.construct(key="quantity", value=self.quantity)
yield Property.construct(key="unit", value=self.unit)
if self.vertpositionindex is not None:
yield Property.construct(key="vertPositionIndex", value=self.vertpositionindex)
yield Property.construct(key="vertPositionIndex", value=str(self.vertpositionindex))


class VectorQuantityUnitPairs(BaseModel):
Expand Down

0 comments on commit d169a24

Please sign in to comment.