forked from RaphaelWimmer/open-access-media-importer
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
# Tests if the CC BY 4.0 License used by PLOS is picked up by OAMI. | ||
echo 10.1371/journal.pbio.1001781 | \ | ||
../oa-get download-metadata pmc_doi && \ | ||
../oa-cache find-media pmc_doi | ||
LICENSE="$( | ||
sqlite3 $(../oa-cache print-database-path pmc_doi) \ | ||
'select * from model_article' | cut -d'|' -f10 | ||
)" | ||
test "$LICENSE" = "http://creativecommons.org/licenses/by/4.0/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
redo 118-plos-license-statement |