# HG changeset patch # User gga # Date 1562848724 14400 # Node ID 95221c68838f17b5150c092e60a5e9427d99761e # Parent 7028154f9c93decc37dbac48faf66a138567133b planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d diff -r 7028154f9c93 -r 95221c68838f feature_get_features.xml --- a/feature_get_features.xml Mon Jul 08 05:39:06 2019 -0400 +++ b/feature_get_features.xml Thu Jul 11 08:38:44 2019 -0400 @@ -1,5 +1,5 @@ - + macros.xml @@ -26,7 +26,7 @@ | jq -S . > '$results' -&& @STOP_PSQL@ +@STOP_PSQL@ ]]> diff -r 7028154f9c93 -r 95221c68838f macros.xml --- a/macros.xml Mon Jul 08 05:39:06 2019 -0400 +++ b/macros.xml Thu Jul 11 08:38:44 2019 -0400 @@ -89,32 +89,29 @@ - '.auth.yml' && - echo "local:" >> '.auth.yml' && - echo " dbhost: \"\$GALAXY_CHADO_DBHOST\"" >> '.auth.yml' && - echo " dbname: \"\$GALAXY_CHADO_DBNAME\"" >> '.auth.yml' && - echo " dbpass: \"\$GALAXY_CHADO_DBPASS\"" >> '.auth.yml' && - echo " dbuser: \"\$GALAXY_CHADO_DBUSER\"" >> '.auth.yml' && - echo " dbschema: \"\$GALAXY_CHADO_DBSCHEMA\"" >> '.auth.yml' && - echo " dbport: \"\$GALAXY_CHADO_DBPORT\"" >> '.auth.yml' && - - export CHAKIN_GLOBAL_CONFIG_PATH='.auth.yml' - ; fi - ]]> - /dev/null && . '$__tool_directory__/prepare_psql.sh' '$psql_target.schema' #else - @AUTH@ + if [ -z "\$CHAKIN_GLOBAL_CONFIG_PATH" ]; then + echo "__default: local" > '.auth.yml' && + echo "local:" >> '.auth.yml' && + echo " dbhost: \"\$GALAXY_CHADO_DBHOST\"" >> '.auth.yml' && + echo " dbname: \"\$GALAXY_CHADO_DBNAME\"" >> '.auth.yml' && + echo " dbpass: \"\$GALAXY_CHADO_DBPASS\"" >> '.auth.yml' && + echo " dbuser: \"\$GALAXY_CHADO_DBUSER\"" >> '.auth.yml' && + echo " dbschema: \"\$GALAXY_CHADO_DBSCHEMA\"" >> '.auth.yml' && + echo " dbport: \"\$GALAXY_CHADO_DBPORT\"" >> '.auth.yml' && + + export CHAKIN_GLOBAL_CONFIG_PATH='.auth.yml' + ; fi #end if ]]> /dev/null