def parseFullScan(self, i, modifications=True):
scanObj = PeptideObject()<EOL>peptide = str(i[<NUM_LIT:1>])<EOL>pid=i[<NUM_LIT:2>]<EOL>if modifications:<EOL><INDENT>sql = '<STR_LIT>'%pid<EOL>for row in self.conn.execute(sql):<EOL><INDENT>scanObj.addModification(peptide[row[<NUM_LIT:1>]], str(row[<NUM_LIT:1>]), str(row[<NUM_LIT:2>]), row[<NUM_LIT:0>])<EOL><DEDENT><DEDENT>scanObj.peptide = peptide<EOL>if self.decompressScanInfo(scanObj, i[<NUM_LIT:0>]):<EOL><INDENT>return scanObj<EOL><DEDENT>return None<EOL>
parses scan info for giving a Spectrum Obj for plotting. takes significantly longer since it has to unzip/parse xml