Skip to content

Commit 8f27186

Browse files
committed
Minor cleanup
1 parent d49f52a commit 8f27186

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/osut/osut.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5441,8 +5441,6 @@ def roofs(spaces = []) -> list:
54415441
return roofs
54425442

54435443

5444-
# @return [Bool]
5445-
# @return [false] if invalid input (see logs)
54465444
def isDaylit(space=None, sidelit=True, toplit=True, baselit=True) -> bool:
54475445
"""Validates whether space has outdoor-facing surfaces with fenestration.
54485446
@@ -5459,7 +5457,7 @@ def isDaylit(space=None, sidelit=True, toplit=True, baselit=True) -> bool:
54595457
Returns:
54605458
bool: Whether space is daylit.
54615459
False: If invalid inputs (see logs).
5462-
5460+
54635461
"""
54645462
mth = "osut.isDaylit"
54655463
cl = openstudio.model.Space

tests/test_osut.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3943,6 +3943,9 @@ def test32_outdoor_roofs(self):
39433943
self.assertTrue(occ in roofs.keys())
39443944
self.assertTrue("plenum" in roofs[occ].lower())
39453945

3946+
del(model)
3947+
self.assertEqual(o.status(), 0)
3948+
39463949
# def test33_leader_line_anchors_inserts(self):
39473950

39483951
# def test34_generated_skylight_wells(self):

0 commit comments

Comments
 (0)