ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

Change the way tables use search_table #79

Closed ivoflipse closed 10 years ago

ivoflipse commented 10 years ago

Table.search_table first only returned a list of rows, but this representation only returns the content, so unless you know the order, you don't know what each entry is.

So I changed it so search_table returns a dictionary, like most getters already do, but I just realized my getters all transform it to a dictionary too...

So fix that!

ivoflipse commented 10 years ago

I've changed all get_plural functions so they no longer take keyword arguments (never made much sense) and it will return a list of dictionary objects. If you use get_singular you get a single dictionary, not a list.