labnotes 0.0.32__tar.gz → 0.0.33__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {labnotes-0.0.32 → labnotes-0.0.33}/PKG-INFO +1 -1
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tui/run_app.py +5 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/.gitignore +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/CHANGELOG.md +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/MIGRATIONS.md +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/README.md +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/pyproject.toml +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/__init__.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/asset_url.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/cell_progress.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/check_counts.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/cli.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/context.md +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/context_guide.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/count_runs.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/create_app.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/create_experiment.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/data_html.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/default_config_text.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/default_counts.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/drain_watch.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/experiment_notes.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/experiment_progress.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/experiment_runs.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/experiments.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/format_value.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/init.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/list_experiments.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/list_runs.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/load_config.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/load_experiment.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/models.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/notebook_kernel.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/output_html.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/parse_run_view.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/pivot_cells.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/print_rows.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/python_blocks.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/read_config.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/read_path.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/render_markdown.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/__init__.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/describe_event.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/execute_run.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/lock_path.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/new_run_id.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/param_args.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/param_grid.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/plan_runs.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/read_experiment_config.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/run_experiment.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/run_folder.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/run_headless.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/shell_command.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/start_experiment.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/stop_then_kill.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/wait_for_group.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/runner/write_run_json.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/saved_outputs.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/serve_app.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/server.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/sort_href.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/sql_quote.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/static/labnotes.css +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/static/row-link.js +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/static/run-cell.js +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/static/view-toggle.js +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/stop_idle_kernels.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/summarize_config.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/__init__.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/experiment_rows.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/file_prefix.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/iso_time.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/list_experiment_runs.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/open_tables.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/path_glob.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/path_pattern.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/read_experiment.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/read_file.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/read_run.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tables/summarize_experiments.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/templates/base.html +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/templates/experiment.html +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/templates/index.html +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/templates/macros.html +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tui/__init__.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tui/dim.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tui/format_elapsed.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/src/labnotes/tui/run_tui.py +0 -0
- {labnotes-0.0.32 → labnotes-0.0.33}/uv.lock +0 -0
|
@@ -48,6 +48,7 @@ class RunApp(App[None]):
|
|
|
48
48
|
)
|
|
49
49
|
self.concurrency = 1
|
|
50
50
|
self.idle = False
|
|
51
|
+
self.next_run: str | None = None
|
|
51
52
|
self.ended: set[str] = set()
|
|
52
53
|
self.started: dict[str, float] = {}
|
|
53
54
|
self.pending: set[str] = set()
|
|
@@ -98,6 +99,8 @@ class RunApp(App[None]):
|
|
|
98
99
|
self.idle = False
|
|
99
100
|
self.pending.discard(run)
|
|
100
101
|
self.started[run] = time.monotonic()
|
|
102
|
+
if run == self.next_run:
|
|
103
|
+
self.show("")
|
|
101
104
|
args = " ".join(param_args(event["params"])) # type: ignore[arg-type]
|
|
102
105
|
cells = (run, args, "running", format_elapsed(0))
|
|
103
106
|
for column, cell in zip(COLUMNS, cells):
|
|
@@ -116,6 +119,7 @@ class RunApp(App[None]):
|
|
|
116
119
|
self.reorder(event, table.cursor_row)
|
|
117
120
|
table.move_cursor(row=table.get_row_index(run))
|
|
118
121
|
self.show(describe_event(event))
|
|
122
|
+
self.next_run = run
|
|
119
123
|
case "deselected":
|
|
120
124
|
self.pending.discard(run)
|
|
121
125
|
self.set_cell(run, "status", dim("deselected"))
|
|
@@ -178,6 +182,7 @@ class RunApp(App[None]):
|
|
|
178
182
|
self.set_cell(run, "time", format_elapsed(time.monotonic() - began))
|
|
179
183
|
|
|
180
184
|
def show(self, text: str) -> None:
|
|
185
|
+
self.next_run = None
|
|
181
186
|
self.query_one("#status", Static).update(text)
|
|
182
187
|
|
|
183
188
|
def action_interrupt(self) -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|