def getElement(self, attri, fname, numtype='<STR_LIT>'):
element=[] <EOL>number=[]  <EOL>z=[]       <EOL>a=[]       <EOL>abd=[]     <EOL>data=[]    <EOL>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>element=self.get(self.dcols[<NUM_LIT:5>],fname,numtype)<EOL>number=[]<EOL>z=[]<EOL>a=[]<EOL>isom=[]<EOL>abd=[]<EOL>for i in range(len(lines)):<EOL><INDENT>number.append(int(lines[i][<NUM_LIT:0>]))<EOL>z.append(float(lines[i][<NUM_LIT:1>]))<EOL>isom.append(float(lines[i][<NUM_LIT:2>]))<EOL>abd.append(float(lines[i][<NUM_LIT:1>]))<EOL><DEDENT>index=<NUM_LIT:0> <EOL>while index < len(element):<EOL><INDENT>if attri == element[index]:<EOL><INDENT>break<EOL><DEDENT>index+=<NUM_LIT:1><EOL><DEDENT>data.append(number[index])<EOL>data.append(z[index])<EOL>data.append(a[index])<EOL>data.append(isom[index])<EOL>data.append(abd[index])<EOL>return array(data)<EOL>
In this method instead of getting a particular column of data,
the program gets a particular row of data for a particular
element name.

attri : string
    The name of the attribute we are looking for. A complete
    list of them can be obtained by calling

    >>> get('element_name')
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".

Returns
-------
array
    A numpy array of the four element attributes, number, Z, A
    and abundance, in that order.

Notes
-----
Warning