Skip to content

Commit c914a9c

Browse files
authored
Merge pull request #372 from PNNL-CompBio/schema_check_update
This resolves an inconsistency for validating new and old datasets
2 parents 47e9df8 + e5912eb commit c914a9c

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

build/docker/Dockerfile.upload

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ RUN apt-get update && \
1111
apt-get install -y git curl gnupg && \
1212
rm -rf /var/lib/apt/lists/*
1313

14-
# Install GitHub CLI (gh)
15-
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | \
16-
gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg && \
17-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | \
18-
tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \
19-
apt-get update && \
20-
apt-get install -y gh && \
21-
rm -rf /var/lib/apt/lists/*
14+
# # Install GitHub CLI (gh)
15+
# RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | \
16+
# gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg && \
17+
# echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | \
18+
# tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \
19+
# apt-get update && \
20+
# apt-get install -y gh && \
21+
# rm -rf /var/lib/apt/lists/*
22+
2223

24+
# RUN git clone https://github.com/PNNL-CompBio/coderdata.git
25+
# WORKDIR /usr/src/app/coderdata
2326

24-
RUN git clone https://github.com/PNNL-CompBio/coderdata.git
25-
WORKDIR /usr/src/app/coderdata
27+
ADD schema schema
28+
ADD scripts scripts

schema/coderdata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ classes:
188188
- source
189189
- study
190190
attributes:
191-
drug_drug_2:
191+
improve_drug_1:
192192
description: improve_drug_id of first drug
193193
improve_drug_2:
194194
description: imrrove_drug_id of second drug

0 commit comments

Comments
 (0)