Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions coastal/coastal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions coastal/environment.yml
Original file line number Diff line number Diff line change
@@ -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