From ba1f3824ca6c9a6928df57d396a0470f4b3abc5c Mon Sep 17 00:00:00 2001 From: Beau Harrison Date: Fri, 21 Jul 2023 13:47:33 -0500 Subject: [PATCH] fix: :wrench: Update fermi-controls to fermi-ad. This should probably all be in config rather than in code... --- README.md | 2 +- datalogger_to_ml/dpm_data/dpm_data.py | 2 +- datalogger_to_ml/helper_methods.py | 2 +- datalogger_to_ml/old_data_collector.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6a4f51d..105f4ac 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Here's an example config file that uses GitHub to host the requests list: ```yaml --- github: - owner: fermi-controls + owner: fermi-ad repo: linac-logger-device-cleaner file: linac_logger_drf_requests.txt start: 20200101T000000 diff --git a/datalogger_to_ml/dpm_data/dpm_data.py b/datalogger_to_ml/dpm_data/dpm_data.py index 5f588a9..9e23673 100644 --- a/datalogger_to_ml/dpm_data/dpm_data.py +++ b/datalogger_to_ml/dpm_data/dpm_data.py @@ -222,7 +222,7 @@ def _write_output(path, output): def _get_latest_device_list(output_filename=None): - url = ('https://github.com/fermi-controls/linac-logger-device-cleaner/' + url = ('https://github.com/fermi-ad/linac-logger-device-cleaner/' 'releases/latest/download/linac_logger_drf_requests.txt') req = requests.get(url, allow_redirects=False) diff --git a/datalogger_to_ml/helper_methods.py b/datalogger_to_ml/helper_methods.py index 88dc58f..a4c6925 100644 --- a/datalogger_to_ml/helper_methods.py +++ b/datalogger_to_ml/helper_methods.py @@ -11,7 +11,7 @@ def write_output(path, output): def get_latest_device_list(output_filename=None): - url = ('https://github.com/fermi-controls/linac-logger-device-cleaner/' + url = ('https://github.com/fermi-ad/linac-logger-device-cleaner/' 'releases/latest/download/linac_logger_drf_requests.txt') req = requests.get(url, allow_redirects=False) diff --git a/datalogger_to_ml/old_data_collector.py b/datalogger_to_ml/old_data_collector.py index 2576993..6dd383a 100644 --- a/datalogger_to_ml/old_data_collector.py +++ b/datalogger_to_ml/old_data_collector.py @@ -52,7 +52,7 @@ def write_output(file, output): def get_latest_device_list_version(logger): - url = ('https://api.github.com/repos/fermi-controls/' + url = ('https://api.github.com/repos/fermi-ad/' 'linac-logger-device-cleaner/releases/latest') response = requests.get(url, allow_redirects=False) @@ -66,7 +66,7 @@ def get_latest_device_list_version(logger): def get_latest_device_list(output_path, logger): - url = ('https://github.com/fermi-controls/linac-logger-device-cleaner/' + url = ('https://github.com/fermi-ad/linac-logger-device-cleaner/' 'releases/latest/download/linac_logger_drf_requests.txt') response = requests.get(url, allow_redirects=False)