Webapp1

Do you mean the function isn't working or the results page isn't rendering?
The results view/template is still broken.
On Jun 26, 2014 7:54 AM, "Lawrence Fritts" <notifications@github.com> wrote:

> In db_methods.py:
>
> > @@ -59,7 +59,7 @@ def get_results(school_name, number_to_return):
> >      school_type = cur.fetchone()
> >      cur.execute(DB_GET_SCHOOLS_BY_TYPE, [school_type])
> >      search_schools = cur.fetchall()
> > -    return_schools = find_schools(school_id, search_schools, number_to_return)
> > +    return_schools = find_schools(school_id[0], search_schools, number_to_return)
>
> Somethings wrong again. I merged #16
> <https://github.com/lfritts/clustering_school_data/pull/16> and now I
> cannot get it to return any results at all...
> … <#146d8ab5eb098dca_>
> On Jun 26, 2014, at 7:51 AM, Perry Hook <notifications@github.com> wrote:
> In db_methods.py: > @@ -59,7 +59,7 @@ def get_results(school_name,
> number_to_return): > school_type = cur.fetchone() >
> cur.execute(DB_GET_SCHOOLS_BY_TYPE, [school_type]) > search_schools =
> cur.fetchall() > - return_schools = find_schools(school_id, search_schools,
> number_to_return) > + return_schools = find_schools(school_id[0],
> search_schools, number_to_return) that's weird, when I run my test for that
> error on redmond high's id, 3528, on the whole list I don't get an error.
> So that means that either the list of schools being searched on doesn't
> have that ID (is the list you're searching on High Schools?) or the ID
> we're getting to search on is incorrect? — Reply to this email directly or
> view it on GitHub.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lfritts/clustering_school_data/pull/16/files#r14244701>
> .
>