Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release covidcast-indicators 0.3.48 #1910

Merged
merged 11 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.47
current_version = 0.3.48
commit = True
message = chore: bump covidcast-indicators to {new_version}
tag = False
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
bump2version --list ${{ github.event.inputs.versionName }} | grep ^new_version | sed -r s,"^.*=",,
- name: Copy version to indicator directory
run: |
indicator_list=("changehc" "claims_hosp" "doctor_visits" "google_symptoms" "hhs_hosp" "nchs_mortality" "nowcast" "quidel_covidtest" "sir_complainsalot")
indicator_list=("changehc" "claims_hosp" "doctor_visits" "google_symptoms" "hhs_hosp" "nchs_mortality" "quidel_covidtest" "sir_complainsalot")
for path in ${indicator_list[@]}; do
echo "current_version = ${{ steps.indicators.outputs.version }}" > $path/version.cfg
done
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
matrix:
packages: [_delphi_utils_python, changehc, claims_hosp, doctor_visits, google_symptoms, hhs_hosp, nchs_mortality, nowcast, quidel_covidtest, sir_complainsalot]
packages: [_delphi_utils_python, changehc, claims_hosp, doctor_visits, google_symptoms, hhs_hosp, nchs_mortality, quidel_covidtest, sir_complainsalot]
defaults:
run:
working-directory: ${{ matrix.packages }}
Expand Down
2 changes: 1 addition & 1 deletion changehc/version.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
current_version = 0.3.47
current_version = 0.3.48
2 changes: 1 addition & 1 deletion claims_hosp/version.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
current_version = 0.3.47
current_version = 0.3.48
2 changes: 1 addition & 1 deletion doctor_visits/version.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
current_version = 0.3.47
current_version = 0.3.48
2 changes: 1 addition & 1 deletion google_symptoms/version.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
current_version = 0.3.47
current_version = 0.3.48
6 changes: 6 additions & 0 deletions hhs_hosp/delphi_hhs/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@ def run_module(params):
- "export_dir": str, directory to write output
- "log_filename" (optional): str, name of file to write logs
- "epidata" (optional): dict, extra parameters to send to Epidata.covid_hosp
- "validation":
- "common":
- "api_credentials": str, api key to prevent hitting max number of query limit.
"""
if params.get("validation") and params["validation"].get("common") and \
params["validation"]["common"].get("api_credentials"):
Epidata.auth = ('epidata', str(params["validation"]["common"]["api_credentials"]))
start_time = time.time()
logger = get_structured_logger(
__name__, filename=params["common"].get("log_filename"),
Expand Down
14 changes: 13 additions & 1 deletion hhs_hosp/tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ def test_output_files(mock_covid_hosp):
params = {
"common": {
"export_dir": tmpdir
},
"validation": {
"common": {
"data_source": "hhs",
"api_credentials": "fakecred"
}
}
}
run_module(params)
Expand Down Expand Up @@ -215,6 +221,12 @@ def test_ignore_last_range_no_results(mock_covid_hosp, mock_export):
params = {
"common": {
"export_dir": "./receiving"
}
},
"validation": {
"common": {
"data_source": "hhs",
"api_credentials": "fakecred"
}
}
}
assert not run_module(params) # function should not raise value error and has no return value
2 changes: 1 addition & 1 deletion hhs_hosp/version.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
current_version = 0.3.47
current_version = 0.3.48
2 changes: 1 addition & 1 deletion nchs_mortality/version.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
current_version = 0.3.47
current_version = 0.3.48
26 changes: 0 additions & 26 deletions nowcast/.pylintrc

This file was deleted.

29 changes: 0 additions & 29 deletions nowcast/Makefile

This file was deleted.

61 changes: 0 additions & 61 deletions nowcast/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions nowcast/REVIEW.md

This file was deleted.

Empty file removed nowcast/cache/.gitignore
Empty file.
13 changes: 0 additions & 13 deletions nowcast/delphi_nowcast/__init__.py

This file was deleted.

11 changes: 0 additions & 11 deletions nowcast/delphi_nowcast/__main__.py

This file was deleted.

20 changes: 0 additions & 20 deletions nowcast/delphi_nowcast/constants.py

This file was deleted.

87 changes: 0 additions & 87 deletions nowcast/delphi_nowcast/data_containers.py

This file was deleted.

Empty file.
Loading