Tidy3DWebRunner should expose a progress bar for simulation run status #42

Open
opened 2024-05-05 09:33:08 +02:00 by so-rose · 0 comments

RunSimulation could start a new Python process, which simply uses tidy3d to check the progress of a simulation in a loop, and prints that progress to a status file. Much as we do with install_deps, RunSimulation can use a modal reacting to a window manager timer to frequency re-check the status file, retrieve the % progress (and any other information), and print that.

The trouble arises with wanting to update the task status live, also - which tends to be a thing that one wants to happen via tdcloud. The exact right way to do this is nuanced.

`RunSimulation` could start a new Python process, which simply uses tidy3d to check the progress of a simulation in a loop, and prints that progress to a status file. Much as we do with `install_deps`, `RunSimulation` can use a modal reacting to a window manager timer to frequency re-check the status file, retrieve the % progress (and any other information), and print that. The trouble arises with wanting to update the task status live, also - which tends to be a thing that one wants to happen via `tdcloud`. The exact right way to do this is nuanced.
so-rose added the
enhancement
ux
labels 2024-05-05 09:33:08 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: so-rose/oscillode#42
There is no content yet.