Skip to content

Commit

Permalink
Fix incorrect import of `_get_output_dir()
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Oct 19, 2023
1 parent f7c2b17 commit a1aee86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions e3sm_diags/driver/lat_lon_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

import xarray as xr

from build.lib.e3sm_diags.driver.utils.io import _get_output_dir
from e3sm_diags.driver.utils.dataset_xr import Dataset
from e3sm_diags.driver.utils.io import _write_vars_to_netcdf
from e3sm_diags.driver.utils.io import _get_output_dir, _write_vars_to_netcdf
from e3sm_diags.driver.utils.regrid import (
_apply_land_sea_mask,
_subset_on_region,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ skip = "e3sm_diags/e3sm_diags_driver.py"
junit_family = "xunit2"
addopts = "--cov=e3sm_diags --cov-report term --cov-report html:tests_coverage_reports/htmlcov --cov-report xml:tests_coverage_reports/coverage.xml -s"
python_files = ["tests.py", "test_*.py"]
testpaths = "tests/e3sm_diags"
# testpaths = "tests/e3sm_diags"

[tool.mypy]
# Docs: https://mypy.readthedocs.io/en/stable/config_file.html
Expand Down

0 comments on commit a1aee86

Please sign in to comment.