def getColData(self, attri, fname, numtype='<STR_LIT>'):
fname=self.findFile(fname,numtype)<EOL>f=open(fname,'<STR_LIT:r>')<EOL>for i in range(self.index+<NUM_LIT:1>):<EOL><INDENT>f.readline()<EOL><DEDENT>lines=f.readlines()<EOL>for i in range(len(lines)):<EOL><INDENT>lines[i]=lines[i].strip()<EOL>lines[i]=lines[i].split()<EOL><DEDENT>index=<NUM_LIT:0><EOL>data=[]<EOL>while index < len (self.dcols):<EOL><INDENT>if attri== self.dcols[index]:<EOL><INDENT>break<EOL><DEDENT>index+=<NUM_LIT:1><EOL><DEDENT>for i in range(len(lines)):<EOL><INDENT>if index==<NUM_LIT:5> and len(lines[i])==<NUM_LIT:7>:<EOL><INDENT>data.append(str(lines[i][index].capitalize())+'<STR_LIT:->'+str(lines[i][index+<NUM_LIT:1>]))<EOL><DEDENT>elif index==<NUM_LIT:5> and len(lines[i])!=<NUM_LIT:7>:<EOL><INDENT>tmp=str(lines[i][index])<EOL>if tmp[len(tmp)-<NUM_LIT:1>].isdigit():<EOL><INDENT>tmp1=tmp[<NUM_LIT:0>]+tmp[<NUM_LIT:1>]<EOL>tmp1=tmp1.capitalize()<EOL>tmp2='<STR_LIT>'<EOL>for j in range(len(tmp)):<EOL><INDENT>if j == <NUM_LIT:0> or j == <NUM_LIT:1>:<EOL><INDENT>continue<EOL><DEDENT>tmp2+=tmp[j]<EOL><DEDENT>data.append(tmp1+'<STR_LIT:->'+tmp2)<EOL><DEDENT>elif tmp=='<STR_LIT>':<EOL><INDENT>data.append('<STR_LIT>')<EOL><DEDENT>elif tmp==('<STR_LIT>'or'<STR_LIT>'or'<STR_LIT>'or'<STR_LIT>'or'<STR_LIT>'):<EOL><INDENT>data.append('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>data.append(tmp)<EOL><DEDENT><DEDENT>elif index==<NUM_LIT:0>:<EOL><INDENT>data.append(int(lines[i][index]))<EOL><DEDENT>else:<EOL><INDENT>data.append(float(lines[i][index]))<EOL><DEDENT><DEDENT>return array(data)<EOL>
In this method a column of data for the associated column
attribute is returned.

Parameters
----------
attri : string
    The name of the attribute we are looking for.
fname : string
    The name of the file we are getting the data from or the
    cycle number found in the filename.
numtype : string, optional
    Determines whether fname is the name of a file or, the
    cycle number.  If it is 'file' it will then  interpret it as
    a file, if it is 'cycNum' it will then  interpret it as a
    cycle number.  The default is "cycNum".