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, argsList=[], showScheduleOption=True, schedule=True, showProjectOption=True, showProject=True, showProjectName=True, **kwargs)[source]¶
Bases:
tkinter.Frame
- class scipion.scripts.kickoff.KickoffWindow(template, argsList, showScheduleOption, schedule, showProjectOption, showProject, showProjectName)[source]¶
Bases:
pyworkflow.gui.project.base.ProjectBaseWindow
Windows to manage all projects.
- scipion.scripts.kickoff.assignAllParams(argsList, template)[source]¶
Assign CML params to the template, if missing params after assignment return False
- scipion.scripts.kickoff.getFlagArg(argsList, flag)[source]¶
Checks if a flag exists (True) or not (False)
- scipion.scripts.kickoff.getTemplates(templateName=None)[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(argsList)[source]¶
Checks if project GUI has to be launched. Only if –noGUI param is found in the argument List it will return False