noaa-fisheries-integrated-toolbox / toolbox_web_templating

Templates and JSON model data for the toolbox web pages
1 stars 0 forks source link

change how including models in config #20

Open k-doering-NOAA opened 1 year ago

k-doering-NOAA commented 1 year ago

Rather than having to edit the config file (example config), It might be easier to have an off/on switch to include in the toolbox within the individual model jsons, something like: include_in_toolbox: "true" or "false". Then there is just a single file to edit when adding new models and it is easier to see explicitly whether it is included or not.

Note that would need to add some code to the python script to deal with this, though.