Experiment Preparation
The preparation station: staging, editing, ordering and pushing tasks before they are sent to the queue (prepfile persistence).
Overview
quatm/GUI/experiment/prepstation.py provides experiment preparation (PrepStation): the
preparation station in the dock at the top of the experiment browser, used for staging and editing
tasks before they are sent to the experiment queue. The task list is displayed with a PrepModel
table (its order can be changed freely) and persisted to prepfile.json.
Key methods
| Method | Description |
|---|---|
push / push_row / push_first | Pushes the selected/designated/first task to the experiment queue |
push_to_looper | Pushes the selected task to the looper |
move_up / move_down | Changes the order of tasks |
delete_clicked / set_sleeping | Deletes / sleeps a task |
open_editor / open_viewer / save_params | Edits parameters, views parameters, saves them as JSON |
update_prep_file | Saves the task list to prepfile.json |
load_previous | Restores the tasks of the previous session from prepfile.json |
Usage
from quatm.GUI.experiment.prepstation import PrepStation
ps = PrepStation(browser=parent)
ps.push_first() # push the first prepared task into the queue
For a fuller description see Preparation station.