Skip to content

Commit

Permalink
Merge pull request #718 from xylar/update-to-mpas-tools-0.26.0
Browse files Browse the repository at this point in the history
Update to mpas_tools 0.26.0
  • Loading branch information
xylar authored Oct 16, 2023
2 parents b13977d + 7fac689 commit bf035ca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions compass/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os

from mpas_tools.config import MpasConfigParser


Expand All @@ -14,8 +15,17 @@ class CompassConfigParser(MpasConfigParser):
certain paths are absolute, rather than relative.
"""

def combine(self):
super().combine()
def combine(self, raw=False):
"""
Combine the config files into one
Parameters
----------
raw : bool, optional
Whether to combine config "raw" config options, rather than using
extended interpolation
"""
super().combine(raw=raw)
self._ensure_absolute_paths()

def _ensure_absolute_paths(self):
Expand Down
2 changes: 1 addition & 1 deletion conda/compass_env/spec-file.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mache=1.16.0
{% endif %}
matplotlib-base
metis
mpas_tools=0.23.0
mpas_tools=0.26.0
nco
netcdf4=*=nompi_*
numpy
Expand Down
2 changes: 1 addition & 1 deletion conda/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ requirements:
- mache 1.16.0
- matplotlib-base
- metis
- mpas_tools 0.23.0
- mpas_tools 0.26.0
- nco
- netcdf4 * nompi_*
- numpy
Expand Down

0 comments on commit bf035ca

Please sign in to comment.