File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313- Port name duplication in smatrix plugin for multimode ports.
1414- Web functions create the leading directories for the supplied filename if they don't exist.
1515- Some docstring examples that were giving warnings.
16+ - ` web.monitor() ` only prints message when condition met.
1617
1718## [ 2.0.2] - 2023-4-3
1819
Original file line number Diff line number Diff line change @@ -309,7 +309,8 @@ def monitor_preprocess() -> None:
309309 progress .update (pbar_pd , completed = perc_done , description = new_description )
310310 time .sleep (RUN_REFRESH_TIME )
311311
312- if perc_done is not None and perc_done < 100 :
312+ perc_done , field_decay = get_run_info (task_id )
313+ if perc_done is not None and perc_done < 100 and field_decay > 0 :
313314 console .log ("early shutoff detected, exiting." )
314315
315316 progress .update (pbar_pd , completed = 100 , refresh = True )
You can’t perform that action at this time.
0 commit comments