Skip to content

Commit

Permalink
Clean up applications.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Aug 21, 2024
1 parent e06d807 commit 15c2883
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions workflow/applications/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from typing import Dict, List, Any
from datetime import timedelta
from hosts import Host
from pathlib import Path
from wxflow import Configuration, to_timedelta
from abc import ABC, ABCMeta, abstractmethod

Expand Down Expand Up @@ -37,9 +36,9 @@ def __init__(self, conf: Configuration) -> None:
self.mode = self._base['MODE']

if self.mode not in self.VALID_MODES:
raise NotImplementedError(f'{self.mode} is not a valid application mode.\n' +
'Valid application modes are:\n' +
f'{", ".join(self.VALID_MODES)}')
raise NotImplementedError(f'{self.mode} is not a valid application mode.\n'
f'Valid application modes are:\n'
f'{", ".join(self.VALID_MODES)}\n')

self.net = self._base['NET']
self.model_app = self._base.get('APP', 'ATM')
Expand Down

0 comments on commit 15c2883

Please sign in to comment.