childmindresearch / wristpy

https://childmindresearch.github.io/wristpy/
GNU Lesser General Public License v2.1
3 stars 3 forks source link

Task: Removing Settings class #114

Open frey-perez opened 3 days ago

frey-perez commented 3 days ago

Description

A bug was discovered in the get_logger function in configs.py with regards to the Settings class. When the logger is created with get_logger, it uses a new settings object, making it impossible to properly log things. The decision has been made to remove the settings class, and set the logging level with the setLogging method.

The passing of the physical activity levels will also need to be changed to reflect the removal of the Settings class. Logger verbosity arguments should also be added to the cli and orchestrator.

Tasks

Freeform Notes

No response

Asanto32 commented 2 days ago

Note the default values are now (mentioned/discussed over slack): L: 0.0563 M: 0.1916 V: 0.6958 And as per the reference this is best suited for 7-11 yr olds.