mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 14:22:33 +00:00
ids_doc_generator - fix invalid escape sequence SyntaxWarning
SyntaxWarning: invalid escape sequence '\/' at line 312. `\/` in a plain string is treated as `/` by accident; replaced with raw string r"..." to be explicit.
This commit is contained in:
@@ -310,7 +310,7 @@ spec = ifctester.ids.Specification(
|
|||||||
)
|
)
|
||||||
specs.specifications.append(spec)
|
specs.specifications.append(spec)
|
||||||
spec.applicability.append(ifctester.ids.Entity(name="IFCWALLTYPE"))
|
spec.applicability.append(ifctester.ids.Entity(name="IFCWALLTYPE"))
|
||||||
restriction = ifctester.ids.Restriction(options={"pattern": "(-|[0-9]{2,3})\/(-|[0-9]{2,3})\/(-|[0-9]{2,3})"})
|
restriction = ifctester.ids.Restriction(options={"pattern": r"(-|[0-9]{2,3})/(-|[0-9]{2,3})/(-|[0-9]{2,3})"})
|
||||||
spec.requirements.append(
|
spec.requirements.append(
|
||||||
ifctester.ids.Property(
|
ifctester.ids.Property(
|
||||||
propertySet="Pset_WallCommon",
|
propertySet="Pset_WallCommon",
|
||||||
|
|||||||
Reference in New Issue
Block a user