Skip to content

Commit

Permalink
fix code to pass all checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushjariyal committed Feb 13, 2025
1 parent bc82aa5 commit f1ef836
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pvlib/tests/iotools/test_psm3.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ def test_read_psm3_map_variables():
"""test read_psm3 map_variables=True"""
data, metadata = psm3.read_psm3(MANUAL_TEST_DATA, map_variables=True)
columns_mapped = ['Year', 'Month', 'Day', 'Hour', 'Minute', 'dhi', 'ghi',
'dni', 'ghi_clear', 'dhi_clear', 'dni_clear',
'Cloud Type', 'temp_dew', 'solar_zenith',
'Fill Flag', 'albedo', 'wind_speed',
'wind_direction', 'precipitable_water',
'relative_humidity', 'temp_air', 'pressure']
'dni', 'ghi_clear', 'dhi_clear', 'dni_clear',
'Cloud Type', 'temp_dew', 'solar_zenith',
'Fill Flag', 'albedo', 'wind_speed',
'wind_direction', 'precipitable_water',
'relative_humidity', 'temp_air', 'pressure']
data, metadata = psm3.read_psm3(MANUAL_TEST_DATA, map_variables=True)
assert_index_equal(data.columns, pd.Index(columns_mapped))

Expand Down

0 comments on commit f1ef836

Please sign in to comment.