From c28336f09dfa7ff59a403c9906b746f6e112bfe8 Mon Sep 17 00:00:00 2001 From: Blair Currey <12960453+BlairCurrey@users.noreply.github.com> Date: Mon, 5 Feb 2024 21:24:53 -0500 Subject: [PATCH] chore: revert some changes that didnt work and add debug logs --- .github/workflows/train-spread-predictor.yaml | 2 +- nfl_analytics/main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/train-spread-predictor.yaml b/.github/workflows/train-spread-predictor.yaml index 76e96bb..7bf6696 100644 --- a/.github/workflows/train-spread-predictor.yaml +++ b/.github/workflows/train-spread-predictor.yaml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/nfl_analytics/main.py b/nfl_analytics/main.py index 676e9a0..62098ae 100644 --- a/nfl_analytics/main.py +++ b/nfl_analytics/main.py @@ -71,8 +71,8 @@ def main(): if args.train: start_time = time.time() try: - # df_raw = load_dataframe_from_raw() - df_raw = load_dataframe_from_remote() + df_raw = load_dataframe_from_raw() + # df_raw = load_dataframe_from_remote() except FileNotFoundError as e: print(f"Error loading data: {e}") print("Please run with --download first.")