SPOClab-ca / COVFEFE

COre Variable Feature Extraction Feature Extractor
Apache License 2.0
30 stars 10 forks source link

Constants on env.sh #7

Closed jonasrla closed 6 years ago

jonasrla commented 6 years ago

I suggest the env.sh environment variables could be written on a config.yml to be consulted

daniyall commented 6 years ago

Thanks for the suggestion. Implemented in 00f1cfa4d849010b81ab7a0f825561b3c4c13f37 with some minor changes.

I put the config variables in a file called config.ini (used .ini instead of yaml becasue python has a built in parser for ini files). But now you don't need to manually source a file before running covfefe. When run, config.py wil try to read variables from the environment first, then resort to the config.ini file.