- Create a submit_*.py script
Use as reference the existing submit_*.py scripts, like submit_cmdline.py. - Update the qube.py script (to add a submit menu item):
Search the code for use of "maya," as an example.
- Add along with the other imports:
- import submitscript
- Add a menu item for the submit script and bind a callback to it.
- Add the callback code for the menu item.
- Update the jobList.py (adds ability to right-click and resubmit)
- Add along with the other imports:
- import submitscript
- Register the jobs in the registeredJobs variable.
- The submit script should be able to be run directly from the command line like:
python submitscript.py
- Launch QubeGUI and submit your job from under the Submit menu. Resubmit your job by right-clicking on it in the JobList panel.