You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both app.py and uuid_worker.py have app.config.from_pyfile() statements, and are now configured to work with 'app.cfg' for HuBMAP and 'sennet.app.cfg' for SenNet. Currently there are problems if these two statements are not coordinated to use the same file.
Pass the configuration read by app.py from the file into app.config to the UUIDWorker() init() Change UUIDWork.init() to set global variables from the configuration parameters read by app.py, and not re-read the configuration file.
The text was updated successfully, but these errors were encountered:
FROM:
"Pass the filename to be used for configuration in from the server during startup for app.config.from_pyfile() execution in app.py, and to pass to the UUIDWorker() constructor during instantiation of worker in init(). Change UUIDWork.init() to use the argument for its load of app.config.from_pyfile()."
TO:
"Pass the configuration read by app.py from the file into app.config to the UUIDWorker() init() Change UUIDWork.init() to set global variables from the configuration parameters read by app.py, and not re-read the configuration file."
Both app.py and uuid_worker.py have
app.config.from_pyfile()
statements, and are now configured to work with 'app.cfg' for HuBMAP and 'sennet.app.cfg' for SenNet. Currently there are problems if these two statements are not coordinated to use the same file.Pass the configuration read by app.py from the file into app.config to the UUIDWorker() init() Change UUIDWork.init() to set global variables from the configuration parameters read by app.py, and not re-read the configuration file.
The text was updated successfully, but these errors were encountered: