diff --git a/coastal/coastal.py b/coastal/coastal.py index bd7f734..e6cdb79 100644 --- a/coastal/coastal.py +++ b/coastal/coastal.py @@ -5,7 +5,7 @@ from iotaa import asset, task, tasks from uwtools.api.cdeps import CDEPS from uwtools.api.driver import DriverCycleBased -from uwtools.api.file import link +from uwtools.api.fs import link from uwtools.api.logging import use_uwtools_logger from uwtools.api.schism import SCHISM @@ -34,8 +34,8 @@ def provisioned_rundir(self): """ The run directory provisioned with all required content. """ - cdeps = CDEPS(config=self.config_full, cycle=self.cycle, controller=self.driver_name) - schism = SCHISM(config=self.config_full, cycle=self.cycle, controller=self.driver_name) + cdeps = CDEPS(config=self.config_full, cycle=self.cycle, controller=[self.driver_name()]) + schism = SCHISM(config=self.config_full, cycle=self.cycle, controller=[self.driver_name()]) yield self.taskname("Provisioned run directory") yield [ cdeps.atm_nml(), @@ -57,6 +57,5 @@ def restart_dir(self): yield None path.mkdir(parents=True) - @property def driver_name(self): return "coastal"