def get_value(self, name):
<EOL>name = self._clean_up_name(name)<EOL>x = self._find_parameter(name.split('<STR_LIT:/>'))<EOL>if x == None: return None<EOL>value  = x.value()<EOL>bounds = None<EOL>if x.opts['<STR_LIT:type>'] == '<STR_LIT:list>':<EOL><INDENT>if not value in x.opts['<STR_LIT>']:<EOL><INDENT>if len(x.opts('<STR_LIT>')):                              <EOL><INDENT>self.set_value(name, x.opts['<STR_LIT>'][<NUM_LIT:0>])                <EOL>return x.opts['<STR_LIT>'][<NUM_LIT:0>]<EOL><DEDENT>else: return None<EOL><DEDENT><DEDENT>elif x.opts['<STR_LIT:type>'] in ['<STR_LIT:str>']: return str(value)<EOL>else:        <EOL><INDENT>if   '<STR_LIT>' in x.opts: bounds = x.opts['<STR_LIT>']<EOL>elif '<STR_LIT>' in x.opts: bounds = x.opts['<STR_LIT>']<EOL>if not bounds == None:<EOL><INDENT>if not bounds[<NUM_LIT:1>]==None and value > bounds[<NUM_LIT:1>]: value = bounds[<NUM_LIT:1>]<EOL>if not bounds[<NUM_LIT:0>]==None and value < bounds[<NUM_LIT:0>]: value = bounds[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>return value<EOL>
Returns the value of the parameter with the specified name.