Commit c28b83a 1 parent b50c102 commit c28b83a Copy full SHA for c28b83a
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -92,17 +92,18 @@ We can additionally pass the configuration dictionary to the component model ini
92
92
include (" cli_options.jl" )
93
93
parsed_args = parse_commandline (argparse_settings ())
94
94
95
- # # the unique job id should be passed in via the command line
96
- job_id = parsed_args[" job_id" ]
97
- @assert ! isnothing (job_id) " job_id must be passed in via the command line"
98
-
99
95
# # modify parsed args for fast testing from REPL #hide
100
96
if isinteractive ()
101
97
parsed_args[" config_file" ] =
102
98
isnothing (parsed_args[" config_file" ]) ? joinpath (pkg_dir, " config/ci_configs/interactive_debug.yml" ) :
103
99
parsed_args[" config_file" ]
100
+ parsed_args[" job_id" ] = " interactive_debug"
104
101
end
105
102
103
+ # # the unique job id should be passed in via the command line
104
+ job_id = parsed_args[" job_id" ]
105
+ @assert ! isnothing (job_id) " job_id must be passed in via the command line"
106
+
106
107
# # read in config dictionary from file, overriding the coupler defaults in `parsed_args`
107
108
config_dict = YAML. load_file (parsed_args[" config_file" ])
108
109
config_dict = merge (parsed_args, config_dict)
You can’t perform that action at this time.
0 commit comments