diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1121ad8..2924447 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners -* @NaureenBharwaniNOAA @christinaholtNOAA @elcarpenterNOAA @fgabelmannjr @maddenp-noaa @weirae +* @christinaholtNOAA @elcarpenterNOAA @maddenp-cu diff --git a/coastal/coastal.py b/coastal/coastal.py index e6cdb79..0fb3823 100644 --- a/coastal/coastal.py +++ b/coastal/coastal.py @@ -2,7 +2,7 @@ A driver for the Coastal App coupled executable. """ -from iotaa import asset, task, tasks +from iotaa import Asset, collection, task from uwtools.api.cdeps import CDEPS from uwtools.api.driver import DriverCycleBased from uwtools.api.fs import link @@ -25,11 +25,11 @@ def linked_files(self): links = self.config["links"] path = lambda fn: self.rundir / fn yield self.taskname("Linked files") - yield [asset(path(fn), path(fn).is_file) for fn in links.keys()] + yield [Asset(path(fn), path(fn).is_file) for fn in links.keys()] yield None link(config=links, target_dir=self.rundir) - @tasks + @collection def provisioned_rundir(self): """ The run directory provisioned with all required content. @@ -53,7 +53,7 @@ def restart_dir(self): """ path = self.rundir / "RESTART" yield self.taskname("RESTART directory") - yield asset(path, path.is_dir) + yield Asset(path, path.is_dir) yield None path.mkdir(parents=True) diff --git a/coastal/environment.yml b/coastal/environment.yml index 8be7068..4b92f41 100644 --- a/coastal/environment.yml +++ b/coastal/environment.yml @@ -1,9 +1,9 @@ name: coastal channels: - - ufs-community - conda-forge + - ufs-community dependencies: - black - mypy - pylint - - uwtools >=2.4.0 + - uwtools >=2.12.0