Skip to content

Commit b8d5600

Browse files
authored
Merge pull request #1216 from cmu-delphi/release/delphi-epidata-4.1.4
Release Delphi Epidata 4.1.4
2 parents b316ba9 + 7cfc97d commit b8d5600

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+4340
-5286
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4.1.3
2+
current_version = 4.1.4
33
commit = False
44
tag = False
55

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
# We recommend you to keep these unchanged
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
14+
15+
[*.py]
16+
# Change these settings to your own preference
17+
indent_style = space
18+
indent_size = 4
19+
20+
21+
[*.md]
22+
trim_trailing_whitespace = false

.git-blame-ignore-revs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# style(black): format cdc acquisition
2+
980b0b7e80c7923b79e14fee620645e680785703
3+
# style(black): format covidcast_nowcast acquisition
4+
9e6ff16f599e8feec34a08dd1bddbc5eae347b55
5+
# style(black): format ecdc acquisition
6+
d1141d904da4e62992b97c92d5caebd8fadffd42
7+
# style(black): format flusurv acquisition
8+
08af0f6b7bff85bbc2b193b63b5abf6a16ba03e4
9+
# style(black): format fluview acquisition
10+
0133ef2042c4df8867e91595eb1f64873edb4632
11+
# style(black): format ght acquisition
12+
b8900a0bc846888885310911efd6e26459effa99
13+
# style(black): format kcdc acquisition
14+
a849384c884934b3b7c3c67b68aa6240277d6b6d
15+
# style(black): format nidss acquisition
16+
d04af3c02fda7708a16bec0952b1aa7475acaec7
17+
# style(black): format paho acquisition
18+
7f60fbba572c1b6e5153a9ef216895bdc2f7f5b3
19+
# style(black): format quidel acquisition
20+
b9ceb400d9248c8271e8342275664ac5524e335d
21+
# style(black): format twitter acquisition
22+
07ed83e5768f717ab0f9a62a9209e4e2cffa058d
23+
# style(black): format wiki acquisition
24+
923852eafa86b8f8b182d499489249ba8f815843

.github/workflows/performance-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
run: |
6161
cd ../driver
6262
sudo make web sql="${{ secrets.DB_CONN_STRING }}"
63+
sudo make redis
6364
- name: Check out delphi-admin
6465
uses: actions/checkout@v3
6566
with:
@@ -71,7 +72,7 @@ jobs:
7172
run: |
7273
cd delphi-admin/load-testing/locust
7374
docker build -t locust .
74-
export CSV=v4-requests-as_of.csv
75+
export CSV=v4-requests-small.csv
7576
touch output_stats.csv && chmod 666 output_stats.csv
7677
touch output_stats_history.csv && chmod 666 output_stats_history.csv
7778
touch output_failures.csv && chmod 666 output_failures.csv

deploy.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,6 @@
138138
"add-header-comment": true
139139
},
140140

141-
"// acquisition - norostat",
142-
{
143-
"type": "move",
144-
"src": "src/acquisition/norostat/",
145-
"dst": "[[package]]/acquisition/norostat/",
146-
"match": "^.*\\.(py)$",
147-
"add-header-comment": true
148-
},
149-
150141
"// acquisition - paho",
151142
{
152143
"type": "move",
@@ -174,15 +165,6 @@
174165
"add-header-comment": true
175166
},
176167

177-
"// acquisition - afhsb",
178-
{
179-
"type": "move",
180-
"src": "src/acquisition/afhsb/",
181-
"dst": "[[package]]/acquisition/afhsb/",
182-
"match": "^.*\\.(py)$",
183-
"add-header-comment": true
184-
},
185-
186168
"// acquisition - covidcast",
187169
{
188170
"type": "move",

dev/local/setup.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[metadata]
22
name = Delphi Development
3-
version = 4.1.3
3+
version = 4.1.4
44

55
[options]
66
packages =
77
delphi.epidata
88
delphi.epidata.acquisition
9-
delphi.epidata.acquisition.afhsb
109
delphi.epidata.acquisition.cdcp
1110
delphi.epidata.acquisition.covid_hosp
1211
delphi.epidata.acquisition.covid_hosp.common
@@ -21,7 +20,6 @@ packages =
2120
delphi.epidata.acquisition.ght
2221
delphi.epidata.acquisition.kcdc
2322
delphi.epidata.acquisition.nidss
24-
delphi.epidata.acquisition.norostat
2523
delphi.epidata.acquisition.paho
2624
delphi.epidata.acquisition.quidel
2725
delphi.epidata.acquisition.twtr

docs/api/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ The parameters available for each source are documented in each linked source-sp
110110

111111
| Endpoint | Name | Description | Restricted? |
112112
| --- | --- | --- | --- |
113-
| [`afhsb`](ahfsb.md) | AFHSB | ... <!-- TODO --> | yes |
114113
| [`cdc`](cdc.md) | CDC Page Hits | ... <!-- TODO --> | yes |
115114
| [`delphi`](delphi.md) | Delphi's Forecast | ... <!-- TODO --> | no |
116115
| [`ecdc_ili`](ecdc_ili.md) | ECDC ILI | ECDC ILI data from the ECDC website. | no |
@@ -122,7 +121,6 @@ The parameters available for each source are documented in each linked source-sp
122121
| [`ght`](ght.md) | Google Health Trends | Estimate of influenza activity based on volume of certain search queries. | yes |
123122
| [`kcdc_ili`](kcdc_ili.md) | KCDC ILI | KCDC ILI data from KCDC website. | no |
124123
| [`meta`](meta.md) | API Metadata | Metadata for `fluview`, `twitter`, `wiki`, and `delphi`. | no |
125-
| [`meta_afhsb`](meta_afhsb.md) | AFHSB Metadata | ... <!-- TODO --> | yes |
126124
| [`nidss_flu`](nidss_flu.md) | NIDSS Flu | Outpatient ILI from Taiwan's National Infectious Disease Statistics System (NIDSS). | no |
127125
| [`nowcast`](nowcast.md) | ILI Nearby | A nowcast of U.S. national, regional, and state-level (weighted) percent ILI, available seven days (regionally) or five days (state-level) before the first ILINet report for the corresponding week. | no |
128126
| [`quidel`](quidel.md) | Quidel | Data provided by Quidel Corp., which contains flu lab test results. | yes |

docs/api/afhsb.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

docs/api/meta_afhsb.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/api/norostat.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ General topics not specific to any particular endpoint are discussed in the
1313
[contributing](README.md#contributing), [citing](README.md#citing), and
1414
[data licensing](README.md#data-licensing).
1515

16+
**NOTE**: Delphi stopped stopped acquiring data from this data source in November 2020.
17+
1618
## NoroSTAT Data
1719

1820
... <!-- TODO -->

pyproject.toml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1-
21
[tool.black]
3-
line-length = 200
2+
line-length = 100
43
target-version = ['py38']
54
include = 'server,tests/server'
5+
6+
[tool.pylint]
7+
[tool.pylint.'MESSAGES CONTROL']
8+
max-line-length = 100
9+
disable = [
10+
'logging-format-interpolation',
11+
# Allow pytest functions to be part of a class
12+
'no-self-use',
13+
'too-many-locals',
14+
'too-many-arguments',
15+
# Allow pytest classes to have one test
16+
'too-few-public-methods',
17+
]
18+
19+
[tool.pylint.'BASIC']
20+
# Allow arbitrarily short-named variables.
21+
variable-rgx = ['[a-z_][a-z0-9_]*']
22+
argument-rgx = [ '[a-z_][a-z0-9_]*' ]
23+
attr-rgx = ['[a-z_][a-z0-9_]*']
24+
25+
[tool.pylint.'DESIGN']
26+
ignored-argument-names = ['(_.*|run_as_module)']

requirements.api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pandas==1.2.3
1212
python-dotenv==0.15.0
1313
pyyaml
1414
redis==3.5.3
15-
requests==2.28.1
15+
requests==2.31.0
1616
scipy==1.6.2
1717
SQLAlchemy==1.4.40
1818
structlog==22.1.0

0 commit comments

Comments
 (0)