Skip to content

Commit 550dc14

Browse files
author
Lulu Zhao
committed
add AWSoMR_OHSP and fix an error
1 parent ae1fced commit 550dc14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/sub_runs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ def set_restart_params(RestartDirIn,NewParam,MAP,PFSS,TIME,MODEL,PARAM,SCHEME,st
287287

288288
# Compile the code if needed. AWSoM and AWSoM-R could not be
289289
# selected at the same time
290-
if not MODEL in ['AWSoM','AWSoMR','AWSoM2T']:
291-
warnings.warn(MODEL, ' may not be supported.')
290+
if not MODEL in ['AWSoM','AWSoMR','AWSoM2T','AWSoMR_OHSP']:
291+
warnings.warn(MODEL+' may not be supported.')
292292

293293
# If the corresponding MODEL.exe does not exist, need to re-compile the code.
294294
# If it exists, do not change ARGS.DoCompile, which default is 1 (to re-compile

0 commit comments

Comments
 (0)