FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 408e3890 authored by James Nairn's avatar James Nairn
Browse files

Moved check_if_canto_restart_required check

parent 42ff4438
No related branches found
No related tags found
1 merge request!6Testing
......@@ -201,9 +201,6 @@ if [[ -z "${DBNAME}" ]]; then
exit 1
fi
# If DBNAME hasn't changed then restart canto and quit
check_if_canto_restart_required
# Transform $DBNAME
CANTO_CONFIG="./canto/canto_deploy.yaml"
log "Inserting ${DBNAME} into ${CANTO_CONFIG}"
......@@ -245,7 +242,8 @@ if [[ "${DATACHANGED}" == "YES" ]]; then
./canto/script/canto_docker ./script/canto_load.pl --process-extension-config --ontology /import_export/FBbt-GO.obo --ontology /import_export/fly_development.obo --ontology /import_export/flybase_controlled_vocabulary.obo
fi
# If DBNAME hasn't changed then restart canto and quit
check_if_canto_restart_required
# data import (using Gillian's scripts in the vm - see point 7.d in https://docs.google.com/document/d/19C-J8sJmZb_OSluxyzBWJxUkdR_N4sIpgjHI7u5pp0I/edit)
# GM comment: the following 'if' command should work
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment