Closed andyneff closed 4 years ago
The code for using settings.terra.config_file to determine settings.processing_dir was not working due to a chicken-egg issue.
settings.terra.config_file
settings.processing_dir
setttings.terra.config_file
The solution was essentially to use a global/singleton variable 😞 to get around this issue.
Merge after #51
Fixes https://bitbucket.org/visionsystemsinc/terra_dsm/pull-requests/203
The code for using
settings.terra.config_file
to determinesettings.processing_dir
was not working due to a chicken-egg issue.Call _setup
settings.processing_dir
settings.processing_dir
looks forsetttings.terra.config_file
, doesn't see it yetsettings.terra.config_file
, but it's too lateThe solution was essentially to use a global/singleton variable 😞 to get around this issue.