Skip to content

Commit

Permalink
fix(radiance): Ensure room_identifier regex is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Sep 17, 2024
1 parent cda8700 commit 4f1251c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_schema/radiance/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class _RadianceAsset(IDdRadianceBaseModel):

room_identifier: str = Field(
None,
regex=r'[.A-Za-z0-9_-]',
regex=r'^[.A-Za-z0-9_-]+$',
min_length=1,
max_length=100,
description='Optional text string for the Room identifier to which this '
Expand Down

0 comments on commit 4f1251c

Please sign in to comment.