Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IKCAP committed Jul 26, 2024
1 parent 5644ed5 commit a8cc531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pylipd/lipd.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def _get_timeseries(self, dsnames, mode="paleo", time="age"):
timeseries[dsname] = tss
return timeseries

def get_timeseries_essentials(self, dsnames, mode='paleo'):
def get_timeseries_essentials(self, dsnames=None, mode='paleo'):
''' Returns specific properties for timeseries: 'dataSetName', 'archiveType', 'geo_meanLat', 'geo_meanLon',
'geo_meanElev', 'paleoData_variableName', 'paleoData_values',
'paleoData_units', 'paleoData_proxy' (paleo only), 'paleoData_proxyGeneral' (paleo only),
Expand Down
2 changes: 1 addition & 1 deletion pylipd/tests/test_LiPD.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_get_timeseries_essentials_t0(self, odp846, mode):

def test_get_timeseries_essentials_t1(self, odp846):
D = odp846
df = D.get_timeseries_essentials(dsname=D.get_all_dataset_names()[0])
df = D.get_timeseries_essentials(dsnames=D.get_all_dataset_names())

@pytest.mark.parametrize('ensname',['year','age'])
def test_ens_t1(self,odp846, ensname):
Expand Down

0 comments on commit a8cc531

Please sign in to comment.