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.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: pwem.wizards.wizard.VariableWizard

Wizard to select attributes stored in a scipion object or set

getFirstItem(form, inputParam)[source]
getInputAttributes(form, inputParam)[source]
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.SelectChainWizard[source]

Bases: pwem.wizards.wizard.VariableWizard

Opens the input AtomStruct and allows you to select one of the present chains

editionListOfChains(listOfChains)[source]
classmethod getModelsChainsStep(protocol, inputParamName)[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.SelectResidueWizard[source]

Bases: pwem.wizards.wizards.SelectChainWizard

editionListOfResidues(modelsFirstResidue, model, chain)[source]
getResidues(form, inputParams)[source]
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.