Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit runparams model to account for multiple product_id's in a single run #135

Open
kdionisio opened this issue Jun 19, 2017 · 1 comment

Comments

@kdionisio
Copy link
Contributor

kdionisio commented Jun 19, 2017

Currently hem_app_runparams is set up such that each run (each row of the table) is associated with a single product_id/category_id. However due to the length of run time for the model, we will be putting multiple product_id's into a single run (e.g. deodorant gel, deodorant spray, will all be grouped into a 'deodorant' run. We previously talked about a 'linker' table so that, for each run, you provide in the linker table all product_id's included in that run. However in this case we would need to figure out which of the product_ids would appear in the 'by product' drop down menu on the input page.

Note we could have a linker table to list all product_ids included in that run (eg deodorant gel, deodorant spray, deodorant solid), and then create a new product_id associated with 'deodorant all', where the latter product id is what is included in the drop down menu on the input page)

Move category and products to linker table and add a title in run_params that will populate the dropdown

@kdionisio kdionisio added this to TODO in Eoraptor Jun 20, 2017
@kdionisio kdionisio removed this from TODO in Eoraptor Jun 20, 2017
@dmlyons2 dmlyons2 added this to TODO in Eoraptor Jun 28, 2017
@kdionisio
Copy link
Contributor Author

@dmlyons2 Note, please do not make changes to the database that will force removal of the data in the dose table (or cause the demo on Newton not to work) until after the 7/12 meeting with Jeff F. I will not have time to re-load all of that data before the meeting with Jeff, and I would like the demo version working for that meeting if possible!

@dmlyons2 dmlyons2 removed this from TODO in Eoraptor Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants