diff --git a/analysis/calculations.py b/analysis/calculations.py index abfa20e..624d303 100644 --- a/analysis/calculations.py +++ b/analysis/calculations.py @@ -63,6 +63,6 @@ if __name__ == "__main__": try: get_data(remote_db) except Exception as e: - print(f"Exception {e} in plots.py") + print(f"Exception {e} in calculations.py") finally: remote_db.close() diff --git a/analysis/config_example.py b/analysis/config_example.py index 830fe5e..f272d79 100644 --- a/analysis/config_example.py +++ b/analysis/config_example.py @@ -1,5 +1,5 @@ # config.py, adjust as needed -# TODO RENAME THIS FILE TO "config.py" +# TODO COPY and then RENAME TO "config.py" SSH_HOST = 'slenzlinger.dev' SSH_USERNAME = 'sebl' #TODO: Enter own username SSH_PASSWORD = 'your_ssh_password' # TODO: to not push to git diff --git a/analysis/plots.py b/analysis/plots.py index 55df4c7..9980e5e 100644 --- a/analysis/plots.py +++ b/analysis/plots.py @@ -10,8 +10,6 @@ import numpy as np logging.getLogger("matplotlib").setLevel(logging.WARNING) - - # Summary charts ====================================================================================================== def plt_acc_by_year(db): acc_year_sql = """ @@ -261,8 +259,6 @@ def severity_by_month(db): #fig.show() - - # Utilities =========================================================================================================== def save_as_barplot(df, xname, yname, orientation, file_name): pass