We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acc78b6 commit b725704Copy full SHA for b725704
compass/ocean/tests/global_ocean/wave_mesh/base_mesh.py
@@ -32,7 +32,7 @@ def setup(self):
32
self.opts.init_file = 'init.msh'
33
34
# Set links to base mesh
35
- if self.ocean_base_mesh is not None:
+ if self.ocean_base_mesh is None:
36
mesh_path = self.ocean_base_mesh.steps['base_mesh'].path
37
ocean_base_mesh_path = f'{mesh_path}/base_mesh.nc'
38
else:
@@ -48,7 +48,7 @@ def setup(self):
48
work_dir_target=ocean_base_mesh_path)
49
50
# Set links to culled mesh
51
- if self.ocean_culled_mesh is not None:
+ if self.ocean_culled_mesh is None:
52
mesh_path = self.ocean_culled_mesh.steps['initial_state'].path
53
ocean_culled_mesh_path = f'{mesh_path}/initial_state.nc'
54
0 commit comments