Skip to content

Commit

Permalink
Fix failing test with ColumnCombine Adapter (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Nov 23, 2023
1 parent 4a03d4e commit 0e3cbb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Expand Up @@ -19,7 +19,7 @@ dependencies:
- matplotlib>=1.2.0
- pip
# optional, for documentation and testing:
- nb_conda
# - nb_conda # excluded until https://github.com/conda-forge/nb_conda-feedstock/issues/21 is fixed
# ----------------------------------------
- pip:
- pynetcf>=0.4.0
Expand Down
4 changes: 2 additions & 2 deletions tests/test_validation_framework/test_adapters.py
@@ -1,6 +1,6 @@
import pytest

from src.pytesmo.validation_framework.adapters import TimestampAdapter
from pytesmo.validation_framework.adapters import TimestampAdapter
"""
Test for the adapters.
"""
Expand Down Expand Up @@ -278,7 +278,7 @@ def test_column_comb_adapter():
orig = ds.read()
ds_adapted = ColumnCombineAdapter(
ds,
func=pd.DataFrame.mean,
func=pd.Series.mean,
columns=["x", "y"],
func_kwargs={'skipna': True},
new_name='xy_mean')
Expand Down

0 comments on commit 0e3cbb0

Please sign in to comment.