Skip to content

Commit 8364eda

Browse files
committed
Fixup restart tests
1 parent c82d60a commit 8364eda

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

polaris/ocean/tasks/ice_shelf_2d/validate.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ def run(self):
8383
logger=self.logger)
8484
if not output_pass:
8585
raise ValueError(f'Validation failed comparing outputs between '
86-
f'{step_subdirs[0]} and {step_subdirs[3]}.')
86+
f'{step_subdirs[0]} and {step_subdirs[1]}.')
8787
if not land_ice_pass:
88-
raise ValueError(f'Validation failed comparing outputs between '
89-
f'{step_subdirs[1]} and {step_subdirs[4]}.')
88+
raise ValueError(f'Validation failed comparing land ice outputs '
89+
f'between {step_subdirs[0]} and '
90+
f'{step_subdirs[1]}.')
9091
if not frazil_pass:
91-
raise ValueError(f'Validation failed comparing outputs between '
92-
f'{step_subdirs[2]} and {step_subdirs[5]}.')
92+
raise ValueError(f'Validation failed comparing frazil ice outputs '
93+
f'between {step_subdirs[0]} and '
94+
f'{step_subdirs[1]}.')

0 commit comments

Comments
 (0)