Skip to content

Commit

Permalink
fix: 🔧 Update fermi-controls to fermi-ad.
Browse files Browse the repository at this point in the history
This should probably all be in config rather than in code...
  • Loading branch information
beauremus committed Jul 21, 2023
1 parent d3cce32 commit ba1f382
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion datalogger_to_ml/dpm_data/dpm_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion datalogger_to_ml/helper_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions datalogger_to_ml/old_data_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit ba1f382

Please sign in to comment.