From ee6d56d49fbdded9c4876fa4dc7ad43a877d6e32 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 16 Dec 2024 06:40:05 -0600 Subject: [PATCH] Move validate step and fix docstring --- polaris/ocean/tasks/cosine_bell/restart/__init__.py | 2 +- polaris/ocean/tasks/cosine_bell/{restart => }/validate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename polaris/ocean/tasks/cosine_bell/{restart => }/validate.py (97%) diff --git a/polaris/ocean/tasks/cosine_bell/restart/__init__.py b/polaris/ocean/tasks/cosine_bell/restart/__init__.py index 0fb834e77..e33f1f8ca 100644 --- a/polaris/ocean/tasks/cosine_bell/restart/__init__.py +++ b/polaris/ocean/tasks/cosine_bell/restart/__init__.py @@ -3,7 +3,7 @@ from polaris.ocean.mesh.spherical import add_spherical_base_mesh_step from polaris.ocean.tasks.cosine_bell.init import Init from polaris.ocean.tasks.cosine_bell.restart.restart_step import RestartStep -from polaris.ocean.tasks.cosine_bell.restart.validate import Validate +from polaris.ocean.tasks.cosine_bell.validate import Validate class Restart(Task): diff --git a/polaris/ocean/tasks/cosine_bell/restart/validate.py b/polaris/ocean/tasks/cosine_bell/validate.py similarity index 97% rename from polaris/ocean/tasks/cosine_bell/restart/validate.py rename to polaris/ocean/tasks/cosine_bell/validate.py index c401d7d79..056218bfe 100644 --- a/polaris/ocean/tasks/cosine_bell/restart/validate.py +++ b/polaris/ocean/tasks/cosine_bell/validate.py @@ -23,7 +23,7 @@ def __init__(self, component, step_subdirs, indir): The component the step belongs to step_subdirs : list of str - The number of processors used in each run + Subdirectories for the steps with outputs to compare indir : str the directory the step is in, to which ``name`` will be appended