Skip to content

Commit 4892e8d

Browse files
committed
Update test_mismatch.py
1 parent fb0ad0e commit 4892e8d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/spectrum/test_mismatch.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,15 +308,13 @@ def test_spectral_factor_jrc_supplied_ambiguous():
308308
('cigs', np.array([1.00769, 0.959666, 0.974438, 1.02861, 1.05203, 1.03117])),
309309
('asi', np.array([0.982133, 1.04674, 1.04859, 0.951109, 0.865328, 0.919515])),
310310
])
311-
def test_spectral_factor_polo(module_type,expected):
312-
altitude=500
313-
311+
def test_spectral_factor_polo(module_type, expected):
312+
altitude = 500
314313
pws = np.array([0.96, 0.96, 1.85, 1.88, 0.66, 0.66])
315314
aods = np.array([0.085, 0.085, 0.16, 0.19, 0.088, 0.088])
316315
ams = np.array([1.34, 1.34, 2.2, 2.2, 2.6, 2.6])
317316
aois = np.array([46.0, 76.0, 74.0, 28.0, 24.0, 55.0])
318-
alb=np.array([0.15, 0.2, 0.3, 0.18, 0.32, 0.26])
319-
317+
alb = np.array([0.15, 0.2, 0.3, 0.18, 0.32, 0.26])
320318
out = spectrum.spectral_factor_polo(
321319
pws,ams,aods,aois,altitude,module_type=module_type,albedo=alb)
322320
assert np.allclose(expected, out, atol=1e-8)

0 commit comments

Comments
 (0)