metergroup / GRANOLA

Apache License 2.0
5 stars 1 forks source link

Feature/canned queries pass in a list instead of dict #19

Closed madeline-scyphers closed 2 years ago

madeline-scyphers commented 2 years ago

Description

For CannedQueries, change from passing in a dictionaries mapping serial command regexes to files or dicts which turn into data frames to just a list of files or dicts, which get concatenated into just one dataframe. All serial commands come in and create a sub df of just the matching serial command, so the seperating them out was just extra complexity that didn't need to be there and add more to maintain later.

Also, finally change the code to actually allow the usage of the randomizing response again. It used to be allowed, then something broke it, so we just disabled it, and now it works again. So yay!

Checklist