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

Class submit

source code

object --+    
         |    
   Command --+
             |
            submit

Command: submit [<filename>]

Submit a new dataset.  If in production mode, submits to iceprod.
Otherwise, the dataset is run locally.
 
Arguments:
  <filename>  (Optional) Specify the filename to submit.
              Defaults to the currently open file.
  
Returns:
  Prints success or failure, as well as other details.
 

Instance Methods [hide private]
 
Execute(self, shell) source code
 
_meta(self, shell) source code
 
_production(self, shell) source code
 
_get_description(self, completer, initial='')
Prompt for and read a description for the simulation run.
source code
 
_get_text(self, prompt)
Prompt for input
source code
 
_get_int(self, prompt) source code
 
_get_title(self)
Prompt for and read a title for the simulation run.
source code
 
_get_ticket(self)
Prompt for and read a ticket number associated with dataset.
source code
 
_get_subcat(self)
Prompt for and read a subcategrory for the DIF_Plus
source code
 
_get_date(self, prompt)
Prompt for and read a title for the simulation run.
source code
 
_get_choice(self, choices, prompt='') 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 = 'submit [<filename>] : Submit a new dataset.'
hash(x)

Inherited from Command: numArgs

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Execute(self, shell)

source code 
Overrides: Command.Execute

_get_description(self, completer, initial='')

source code 

Prompt for and read a description for the simulation run.

Returns:
the text entered by the user as a single string

_get_text(self, prompt)

source code 

Prompt for input

Returns:
the text entered by the user

_get_title(self)

source code 

Prompt for and read a title for the simulation run.

Returns:
the text entered by the user

_get_ticket(self)

source code 

Prompt for and read a ticket number associated with dataset.

Returns:
the number entered

_get_subcat(self)

source code 

Prompt for and read a subcategrory for the DIF_Plus

Returns:
the text entered by the user

_get_date(self, prompt)

source code 

Prompt for and read a title for the simulation run.

Returns:
the text entered by the user

CheckArgs(self, args)

source code 
Overrides: Command.CheckArgs