Ag searchforwwwadmin

These changes are needed for wwwadmin
created issue #55

On Tue, Sep 23, 2014 at 9:08 AM, Daniel McDonald <notifications@github.com>
wrote:

> In amgut/lib/data_access/ag_data_access.py:
>
> > +            return {}
> > +
> > +    def get_plate_for_barcode(self, barcode):
> > +        sql = """select  p.plate, p.sequence_date
> > +                 from    plate p inner join plate_barcode pb on
> > +                 pb.plate_id = p.plate_id \
> > +                where   pb.barcode = %s"""
> > +        con = self.connection
> > +        cursor = con.cursor()
> > +        cursor.execute(sql, [barcode])
> > +        col_names = [x[0] for x in cursor.description]
> > +        results = [dict(zip(col_names, row)) for row in cursor.fetchall()]
> > +        cursor.close()
> > +        return results
> > +
> > +    def getBarcodeProjType(self, barcode):
>
> Ah... there are other methods down below using camel case. If its a major
> pain to address the stylistic aspect, then perhaps just create an issue and
> we can address it later on the assumption that there's quite a bit to
> chance?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/american-gut-web/pull/54/files#r17914463>.
>