We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb2b8f commit 3bb078cCopy full SHA for 3bb078c
run-tests.sh
@@ -40,15 +40,15 @@ check_fixtures () {
40
find data/ -name "*.json" -exec jsonlint -q {} \;
41
42
# check record ID uniqueness:
43
- dupes=$(jq '.[].recid' data/records/*.json | sort | uniq -d)
+ dupes=$(jq '.[].recid' data/{records,skeletons}/*.json | sort | uniq -d)
44
if [ "x${dupes}" != "x" ]; then
45
echo "[ERROR] Found duplicate record IDs:"
46
echo "${dupes}"
47
exit 1
48
fi
49
50
# check DOI uniqueness:
51
- dupes=$(jq '.[].doi' data/records/*.json | sort | grep -v null | uniq -d)
+ dupes=$(jq '.[].doi' data/{records,skeletons}/*.json | sort | grep -v null | uniq -d)
52
53
echo "[ERROR] Found duplicate record DOIs:"
54
0 commit comments