Skip to content

Commit

Permalink
add pytest for where frontsurfaceoffset=None and backsurfaceoffset=None
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeline committed Oct 17, 2024
1 parent 27cfebb commit 84e2b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bifacial_radiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def test_SingleModule_HPC():

octfile = demo.makeOct(demo.getfilelist()) # makeOct combines all of the ground, sky and object files into a .oct file.
analysis = bifacial_radiance.AnalysisObj(octfile, demo.name, hpc=True) # return an analysis object including the scan dimensions for back irradiance
(frontscan,backscan) = analysis.moduleAnalysis(scene, sensorsy=1, debug=True)
(frontscan,backscan) = analysis.moduleAnalysis(scene, sensorsy=1, debug=True, frontsurfaceoffset=None, backsurfaceoffset=None)
analysis.analysis(octfile, demo.name, frontscan, backscan) # compare the back vs front irradiance
assert analysis.mattype[0][:12] == 'a0.0.a0.test'
assert analysis.rearMat[0][:12] == 'a0.0.a0.test'
Expand Down

0 comments on commit 84e2b07

Please sign in to comment.