def fit_to_db(self,chrom,i):
        """Fit the ith row of the table to the db"""
        
        export_data=[]
        for column in self.columns[1:]:
            element=self.table[chrom][column][i]
            if type(element).__name__=='list': element=str(element)[1:-1]+','
            try:
                export_data.append(abs(element))
            except __HOLE__:
                export_data.append(element)
                
        return export_data
dataset/ETHPy150Open taoliu/taolib/Assoc/tables.py/AnnotTable.fit_to_db