8000 Add minus sign in front of dEgdT, `sdm.py` by echedey-ls · Pull Request #2322 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Add minus sign in front of dEgdT, sdm.py #2322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
assert np.allclose -> assert_allclose
  • Loading branch information
echedey-ls committed Dec 12, 2024
commit bea2159a92b792fb401702fe4ac78108bb0499b6
4 changes: 2 additions & 2 deletions pvlib/tests/ivtools/test_sdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def test_fit_desoto_sandia(cec_params_cansol_cs5p_220p):
modeled['R_s'] = result['R_s']
modeled['R_sh_ref'] = result['R_sh_ref']
expected = pd.Series(params)
assert np.allclose(modeled[params.keys()].values,
expected[params.keys()].values, rtol=5e-2)
assert_allclose(modeled[params.keys()].values,
expected[params.keys()].values, rtol=5e-2)


def _read_iv_curves_for_test(datafile, npts):
Expand Down
0