scipion.scripts.kickoff module

Creates a scipion workflow file (json formatted) base on a template. The template may have some ~placeholders~ that will be overwritten with values Template may look like this, separator is “~” and within it you can define: ~title|value|type~ Template string sits at the end of the file ready for a running streaming demo.

class scipion.scripts.kickoff.KickoffView(parent, windows, template=None, **kwargs)[source]

Bases: tkinter.Frame

class scipion.scripts.kickoff.KickoffWindow(**kwargs)[source]

Bases: pyworkflow.gui.project.base.ProjectBaseWindow

Windows to manage all projects.

close(e=None)[source]
getAction()[source]
getTemplate()[source]
switchView(newView, **kwargs)[source]
scipion.scripts.kickoff.assignAllParams(template)[source]

Assign CML params to the template, if missing params after assignment return False

scipion.scripts.kickoff.chooseTemplate(templates)[source]
scipion.scripts.kickoff.createProjectFromWorkflow(workflow, projectName)[source]
scipion.scripts.kickoff.getTemplates()[source]

Get a template or templates either from arguments or from the templates directory. If more than one template is found or passed, a dialog is raised to choose one.

scipion.scripts.kickoff.launchGUI()[source]

Checks if project GUI has to be launched. Only if –noGUI param is found in sys.argv it will return False

scipion.scripts.kickoff.launchTemplate(template)[source]

Launches a resolved template

scipion.scripts.kickoff.main()[source]
scipion.scripts.kickoff.resolveTemplate(template)[source]

Resolve a template assigning CML params to the template. if not enough, a window will pop pup to ask for missing ones only