Project

General

Profile

Adding refine runjob » History » Revision 4

Revision 3 (Christopher Irving, 08/02/2011 11:21 AM) → Revision 4/17 (Christopher Irving, 08/02/2011 11:22 AM)

h1. Adding refine job 

 h3. Add job type to Agent. 

 After you have added a the new refinement methods job class it needs to be added to the job running agent by editing editting the file apAgent.py in appionlib.   

 # Add the name of the module you created to the import statements at the top of the file. 
 # In the method _createJobInst_ add the new refinment job type to the condition statements. 
 <pre> 
   Ex. 
   elif "newJobType" == jobType: 
             jobInstance = newModuleName.NewRefinementClass(command) 
 </pre> 

 !Agent_class_diag.png!