File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -213,10 +213,11 @@ function submit!(study::Study; kwargs...)
213213 end
214214
215215 # Now submit each job
216+ n_jobs = length (study. jobs)
216217 for (i, job) in enumerate (study. jobs)
217218 # If this job already completed in a previous run, skip execution
218219 open (study. logfile, " a" ) do io
219- msg = " Simulation `$(study . jobpaths[i]) `:\n "
220+ msg = @sprintf " (%d/%d) Simulation `%s `:\n " i n_jobs job . options . root
220221 for (key, value) in pairs (study. setups[i])
221222 msg *= " $(key) : $(value) \n "
222223 end
@@ -225,7 +226,7 @@ function submit!(study::Study; kwargs...)
225226 if study. sim_success[i]
226227 # Write a short note about skipping to the study logfile
227228 open (study. logfile, " a" ) do io
228- write (io, " status: skipped (already completed)\n\n " )
229+ write (io, " status: skipped (completed in a previous run )\n\n " )
229230 end
230231 continue
231232 end
You can’t perform that action at this time.
0 commit comments