subject
Classes:
A popup that prompts you to define variables for a new |
- class New_Subject_Wizard[source]
Bases:
PySide2.QtWidgets.QDialog
A popup that prompts you to define variables for a new
subject.Subject
objectCalled by
Control_Panel.create_subject()
, which handles actually creating the subject file and updating theTerminal.pilots
dict and file.Contains two tabs -
Biography_Tab
- to set basic biographical information about a subject -Task_Tab
- to set the protocol and step to start the subject on- Variables
Classes:
Task_Tab
()A tab for selecting a task and step to assign to the subject.
Attributes:
- class Task_Tab[source]
Bases:
PySide2.QtWidgets.QWidget
A tab for selecting a task and step to assign to the subject.
Reads available tasks from prefs.get(‘PROTOCOLDIR’) , lists them, and creates a spinbox to select from the available steps.
Warning
Like
Biography_Tab
, these are not the actual instance attributes. Values are stored in a values dictionary.- Variables
Methods:
Clears any steps that might be in the step selection box, loads the protocol file and repopulates it.
When the protocol is changed, save the value and call
update_step_box()
.When the step is changed, save it.
Attributes:
- update_step_box()[source]
Clears any steps that might be in the step selection box, loads the protocol file and repopulates it.
- protocol_changed()[source]
When the protocol is changed, save the value and call
update_step_box()
.
- staticMetaObject = <PySide2.QtCore.QMetaObject object at 0x7fa11f979580>
- staticMetaObject = <PySide2.QtCore.QMetaObject object at 0x7fa11f831c40>