Skip to content

Commit c110721

Browse files
authored
Merge pull request #2123 from MIT-LCP/dependabot/github_actions/actions/setup-python-7
Bump actions/setup-python from 5 to 7
2 parents c54cc98 + 2be3d01 commit c110721

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/lint_sqlfluff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
# Full history so we can diff the PR branch against its base
1414
fetch-depth: 0
1515
- name: Install Python
16-
uses: actions/setup-python@v5
16+
uses: actions/setup-python@v7
1717
with:
1818
python-version: "3.12"
1919
- name: install sqlfluff

.github/workflows/regenerate_dialects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
token: ${{ steps.app-token.outputs.token }}
2929

30-
- uses: actions/setup-python@v5
30+
- uses: actions/setup-python@v7
3131
with:
3232
python-version: "3.12"
3333

.github/workflows/sql_syntax_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v7
19-
- uses: actions/setup-python@v5
19+
- uses: actions/setup-python@v7
2020
with:
2121
python-version: "3.12"
2222
- name: Install locked dependencies

.github/workflows/transpile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v7
13-
- uses: actions/setup-python@v5
13+
- uses: actions/setup-python@v7
1414
with:
1515
python-version: "3.10"
1616
- name: Install locked dependencies
@@ -28,7 +28,7 @@ jobs:
2828
checks: write
2929
steps:
3030
- uses: actions/checkout@v7
31-
- uses: actions/setup-python@v5
31+
- uses: actions/setup-python@v7
3232
with:
3333
python-version: "3.12"
3434
- name: Install locked dependencies

mimic-iii/concepts/durations/neuroblock_dose.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ with drugmv as
2828
, 1 as drug
2929

3030
-- the 'stopped' column indicates if a drug has been disconnected
31-
, max(case when stopped in ('Stopped','D/C''d') then 1 else 0 end) as drug_stopped
31+
, max(case when stopped in ('Stopped','D/C\'d') then 1 else 0 end) as drug_stopped
3232

3333
-- we only include continuous infusions, therefore expect a rate
3434
, max(case
@@ -68,7 +68,7 @@ with drugmv as
6868
, 1 as drug
6969

7070
-- the 'stopped' column indicates if a drug has been disconnected
71-
, max(case when stopped in ('Stopped','D/C''d') then 1 else 0 end) as drug_stopped
71+
, max(case when stopped in ('Stopped','D/C\'d') then 1 else 0 end) as drug_stopped
7272
, max(case when valuenum <= 10 then 0 else 1 end) as drug_null
7373

7474
-- educated guess!

mimic-iii/concepts_duckdb/durations/neuroblock_dose.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WITH drugmv AS (
1818
icustay_id,
1919
charttime,
2020
1 AS drug,
21-
MAX(CASE WHEN stopped IN ('Stopped', 'D/C' || 'd') THEN 1 ELSE 0 END) AS drug_stopped,
21+
MAX(CASE WHEN stopped IN ('Stopped', 'D/C''d') THEN 1 ELSE 0 END) AS drug_stopped,
2222
MAX(
2323
CASE
2424
WHEN itemid >= 40000 AND NOT amount IS NULL
@@ -55,7 +55,7 @@ WITH drugmv AS (
5555
icustay_id,
5656
charttime,
5757
1 AS drug,
58-
MAX(CASE WHEN stopped IN ('Stopped', 'D/C' || 'd') THEN 1 ELSE 0 END) AS drug_stopped,
58+
MAX(CASE WHEN stopped IN ('Stopped', 'D/C''d') THEN 1 ELSE 0 END) AS drug_stopped,
5959
MAX(CASE WHEN valuenum <= 10 THEN 0 ELSE 1 END) AS drug_null,
6060
MAX(CASE WHEN valuenum <= 10 THEN valuenum ELSE NULL END) AS drug_rate,
6161
MAX(CASE WHEN valuenum > 10 THEN valuenum ELSE NULL END) AS drug_amount

mimic-iii/concepts_postgres/durations/neuroblock_dose.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ WITH drugmv AS (
2222
icustay_id,
2323
charttime, /* where clause below ensures all rows are instance of the drug */
2424
1 AS drug, /* the 'stopped' column indicates if a drug has been disconnected */
25-
MAX(CASE WHEN stopped IN ('Stopped', 'D/C' || 'd') THEN 1 ELSE 0 END) AS drug_stopped, /* we only include continuous infusions, therefore expect a rate */
25+
MAX(CASE WHEN stopped IN ('Stopped', 'D/C''d') THEN 1 ELSE 0 END) AS drug_stopped, /* we only include continuous infusions, therefore expect a rate */
2626
MAX(
2727
CASE
2828
WHEN itemid >= 40000 AND NOT amount IS NULL
@@ -60,7 +60,7 @@ WITH drugmv AS (
6060
icustay_id,
6161
charttime, /* where clause below ensures all rows are instance of the drug */
6262
1 AS drug, /* the 'stopped' column indicates if a drug has been disconnected */
63-
MAX(CASE WHEN stopped IN ('Stopped', 'D/C' || 'd') THEN 1 ELSE 0 END) AS drug_stopped,
63+
MAX(CASE WHEN stopped IN ('Stopped', 'D/C''d') THEN 1 ELSE 0 END) AS drug_stopped,
6464
MAX(CASE WHEN valuenum <= 10 THEN 0 ELSE 1 END) AS drug_null, /* educated guess! */
6565
MAX(CASE WHEN valuenum <= 10 THEN valuenum ELSE NULL END) AS drug_rate,
6666
MAX(CASE WHEN valuenum > 10 THEN valuenum ELSE NULL END) AS drug_amount

0 commit comments

Comments
 (0)