Skip to content

Commit

Permalink
Remove output_dir value since it's using the default anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
caufieldjh committed Sep 4, 2024
1 parent bca27f3 commit b4bb2f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,17 @@ pipeline {
dir('./gitrepo') {
script {
// Get the names of all BioPortal ontologies
sh ". venv/bin/activate && kgbioportal get-ontology-list --api_key ${NCBO_API_KEY} --output_dir data/raw/"
// This saves the list to data/raw/ontologylist.tsv
sh ". venv/bin/activate && kgbioportal get-ontology-list --api_key ${NCBO_API_KEY}"

// Now download all
// or at least in the future, do them all.
// For now just do a few
sh "printf 'ENVO\nPO\nSEPIO\n' > data/raw/ontologylist.tsv"

// Download the ontologies
sh ". venv/bin/activate && kgbioportal download --api_key ${NCBO_API_KEY} --ontology_file data/raw/ontologylist.tsv --output_dir data/raw/"
// This saves them to data/raw/
sh ". venv/bin/activate && kgbioportal download --api_key ${NCBO_API_KEY} --ontology_file data/raw/ontologylist.tsv"

}
}
Expand Down

0 comments on commit b4bb2f2

Please sign in to comment.