Skip to content

Commit

Permalink
Merge branch 'main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeline committed Oct 2, 2024
2 parents d03f4e0 + ea37681 commit 030daf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ tests/simulation.ini
# bifacial_radiance temp folder
bifacial_radiance/TEMP/
TEMP/
bifacial_radiance/bifacial_radiance/ #this is sometimes accidentally created

# bifacial_radiance other
bifacial_radiance/data/source/
Expand Down
3 changes: 2 additions & 1 deletion tests/test_bifacial_radiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,8 @@ def test_left_label_metdata():

demo = bifacial_radiance.RadianceObj('test')
metdata2 = demo.readWeatherFile(weatherFile=MET_FILENAME, label='right', coerce_year=2001)
pd.testing.assert_frame_equal(metdata1.solpos[:-1], metdata2.solpos[:-1])
#pd.testing.assert_frame_equal(metdata1.solpos[:-1], metdata2.solpos[:-1])
assert all(metdata1.ghi == metdata2.ghi)
assert metdata2.solpos.index[0] == pd.to_datetime('2001-01-01 07:42:00 -7')


Expand Down

0 comments on commit 030daf3

Please sign in to comment.