pkpd.wizards module¶
-
class
pkpd.wizards.
DoseTreeProvider
(experiment)[source]¶ Bases:
pyworkflow.gui.tree.TreeProvider
-
getColumns
()[source]¶ Return a list of tuples (c, w) where: c: is the column name and index w: is the column width
-
getObjectInfo
(obj)[source]¶ This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed
(if not passed the ‘key’ will be used)‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)
-
-
class
pkpd.wizards.
FilterVariablesTreeProvider
(experiment, filter=None)[source]¶ Bases:
pyworkflow.gui.tree.TreeProvider
Simplified view of VariablesTreeProvider with less columns. Additionally, we can filter by a given function.
-
getColumns
()[source]¶ Return a list of tuples (c, w) where: c: is the column name and index w: is the column width
-
getObjectInfo
(obj)[source]¶ This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed
(if not passed the ‘key’ will be used)‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)
-
-
class
pkpd.wizards.
MultiListDialog
(parent, title, provider, message=None, **kwargs)[source]¶ Bases:
pyworkflow.gui.dialog.ListDialog
Select elements among several lists.
-
class
pkpd.wizards.
PKPDChooseDoseWizard
[source]¶ Bases:
pyworkflow.wizard.Wizard
-
show
(form, *params)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pkpd.wizards.
PKPDChooseVariableWizard
[source]¶ Bases:
pyworkflow.wizard.Wizard
-
show
(form, *params)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pkpd.wizards.
PKPDDoseTemplateWizard
[source]¶ Bases:
pyworkflow.wizard.Wizard
-
show
(form, *params)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pkpd.wizards.
PKPDDosesToSamplesTemplateWizard
[source]¶ Bases:
pyworkflow.wizard.Wizard
-
show
(form, *params)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pkpd.wizards.
PKPDODEWizard
[source]¶ Bases:
pyworkflow.wizard.Wizard
-
show
(form, *params)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pkpd.wizards.
PKPDVariableTemplateWizard
[source]¶ Bases:
pyworkflow.wizard.Wizard
-
show
(form, *params)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pkpd.wizards.
SimpleListTreeProvider
(strList, name='Name', width=100)[source]¶ Bases:
pyworkflow.gui.tree.TreeProvider
A simple TreeProvider over the elements of a string list
-
getColumns
()[source]¶ Return a list of tuples (c, w) where: c: is the column name and index w: is the column width
-
getObjectInfo
(obj)[source]¶ This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed
(if not passed the ‘key’ will be used)‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)
-
-
class
pkpd.wizards.
VariablesProvider
(parent, title, **kwargs)[source]¶ Bases:
pyworkflow.gui.dialog.Dialog
This class create a frame with the pkpd variables