pwem.wizards.wizards module

This module is for Actual wizards to be able to be discovered from the Domain. wizard.py is left for wizard models and base classes.

class pwem.wizards.wizards.ChangeOriginSamplingWizard[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 pwem.wizards.wizards.ColorScaleWizardRMSD[source]

Bases: pwem.wizards.wizard.ColorScaleWizardBase

class pwem.wizards.wizards.GetStructureChainsWizard[source]

Bases: pyworkflow.wizard.Wizard

Load an atomic structure, parse chain related information as name, number of residues, list of aminoacids (or other residues)

editionListOfChains(listOfChains)[source]
classmethod getModelsChainsStep(protocol)[source]

Returns (1) list with the information {“model”: %d, “chain”: “%s”, “residues”: %d} (modelsLength) (2) list with residues, position and chain (modelsFirstResidue)

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 pwem.wizards.wizards.ImportAcquisitionWizard[source]

Bases: pwem.wizards.wizard.EmWizard

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 pwem.wizards.wizards.ImportCoordinatesBoxSizeWizard[source]

Bases: pyworkflow.wizard.Wizard

classmethod 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 pwem.wizards.wizards.ImportOriginVolumeWizard[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 pwem.wizards.wizards.PythonFormulaeWizard[source]

Bases: pyworkflow.wizard.Wizard

Assist in the creation of python formula to be evaluated. In Steps

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 pwem.wizards.wizards.SelectAttributeWizard[source]

Bases: pyworkflow.wizard.Wizard

Base wizard for selecting an attribute from those contained in the items of a given input inputParam: Name of the input parameter where the items are stored outputParam:

addTarget(protocol, targets, inputs, outputs)[source]
getFirstItem(form, inputParam)[source]
getInputAttributes(form, inputParam)[source]
getInputOutput(form)[source]

Retrieving input and output corresponding to the protocol where the wizard is used

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.