LBHB / NEMS0

THIS VERSION OF NEMS IS NO LONGER SUPPORTED. PLEASE USE THE NEW NEMS REPOSITORY OR INSTALL NEMS_DB TO GET NEMS0 SUPPORT.
GNU General Public License v3.0
8 stars 4 forks source link

standardize configs #73

Closed svdavid closed 6 years ago

svdavid commented 6 years ago

Same config system for nems, nems_db, nems_baphy Use this hierarchy(?):

  1. read list of config variables and defaults from /config/defaults.py
  2. overwrite any of those variables in /config/settings.py
  3. overwrite any of THOSE variables in os.environ[] Put instructions somewhere
svdavid commented 6 years ago

Looking good. Todos following Friday:

  1. Graceful no-database failure for nems_db
  2. "Plug-in" library support for nems (same general approach to config there)
svdavid commented 6 years ago

I'm going to migrate the plug-in discussion to a new thread.

svdavid commented 6 years ago

I believe new configuration system is in place, @jacobpennington ? or are we still working on changes in the main nems repo?

jacobpennington commented 6 years ago

The basic system is in place in the master branch but it does not reflect the changes made to incorporate the plugins updates.

svdavid commented 6 years ago

Ok different thread. Can close this Isse issue! Trying to clean up a bit.