Package iceprod :: Package client :: Module commands :: Class includegrid
[hide private]
[frames] | no frames]

Class includegrid

source code

object --+    
         |    
   Command --+
             |
            includegrid

Command: includegrid <grid> <dataset_id>

Resume a dataset on a grid.
Can resume multiple datasets and grids at once.
 
Arguments:
  <grid>        Specify the grid, either by name or id
  <dataset_id>  Specify dataset to act on
  
Returns:
  Returns the result of the mysql query (success or failure).
  Warning that if the grid or dataset is wrong it will likely
  print success because there was no mysql error.
  
Examples:
  Resume 1234 on GLOW
     includegrid GLOW 1234
        or
     includegrid 1 1234
  
  Resume 1234 and 1243 on GLOW and glow-test
     includegrid GLOW,glow-test 1234,1243
 

Instance Methods [hide private]
 
Execute(self, shell) source code
 
_include(self, shell, grid, dataset) source code
 
CheckArgs(self, args) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  shortdoc = 'includegrid <grid> <dataset_id> : Resume a dataset...
hash(x)
  numArgs = 2
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Execute(self, shell)

source code 
Overrides: Command.Execute

CheckArgs(self, args)

source code 
Overrides: Command.CheckArgs

Class Variable Details [hide private]

shortdoc

hash(x)

Value:
'includegrid <grid> <dataset_id> : Resume a dataset on a grid.'