Skip to content

Commit

Permalink
Clean up provenance DOIs (open-reaction-database#49)
Browse files Browse the repository at this point in the history
* Clean up provenance DOIs

* trigger actions

* Update submission.yml

* Bump ord-schema version

* Better record_modified details
  • Loading branch information
skearnes authored Jan 19, 2021
1 parent e6af48f commit c96a1e6
Show file tree
Hide file tree
Showing 6 changed files with 15,561 additions and 1,305 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Submission
on: [pull_request, push]

env:
ORD_SCHEMA_TAG: v0.2.3
ORD_SCHEMA_TAG: v0.2.4

jobs:
count_reactions:
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
run: |
cd "${GITHUB_WORKSPACE}"
git diff --name-only upstream/main > changed_files.txt
grep -vE '\.pbtxt$' changed_files.txt && \
echo "Error: submissions must only contain *.pbtxt files" && \
grep -vE '\.pb(txt)?$' changed_files.txt && \
echo "Error: submissions must only contain *.pbtxt or *.pb files" && \
exit 1 || true
if: >-
github.event_name == 'pull_request' &&
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
if test "$( wc -l < changed_pb_files.txt )" -gt 0; then
python ./ord-schema/ord_schema/process_dataset.py \
--input_file=changed_pb_files.txt
for filename in "$(cat changed_pb_files.txt | awk '{print $2}')"; do
for filename in $(cat changed_pb_files.txt | awk '{print $2}'); do
echo "${filename}"
python ./ord-schema/ord_schema/scripts/check_pb.py \
--pb="${filename}" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- '.github/workflows/validation.yml'

env:
ORD_SCHEMA_TAG: v0.2.3
ORD_SCHEMA_TAG: v0.2.4

jobs:
validate_database:
Expand Down
4 changes: 2 additions & 2 deletions data/b4/ord_dataset-b440f8c90b6343189093770060fc4098.pb
Git LFS file not shown
Loading

0 comments on commit c96a1e6

Please sign in to comment.