c44506b985f933067aed6688d2470dd7d577833c markd Thu Apr 14 12:20:08 2022 -0700 use hubCheck -checkSettings and remove invalid settings diff --git src/hg/makeDb/doc/chm13v2.0/makefile src/hg/makeDb/doc/chm13v2.0/makefile index 1ac7ed8..c6be334 100644 --- src/hg/makeDb/doc/chm13v2.0/makefile +++ src/hg/makeDb/doc/chm13v2.0/makefile @@ -48,31 +48,31 @@ make stageFiles make test # @printf "# %s %s\n" "$*" "${stageDir}" stageFiles: $(htmlFiles:%=%stageFiles) %stageFiles: @rm -f "${stageDir}/$*" @cp --remove-destination -p "$*" "${stageDir}/$*" # verify the hub is functioning OK on hgwdev/genome-test from hgdownload-test # can't yet use -checkSettings with hubCheck - there are some warnings there # that cause this test to fail test: @printf "# verify hub is functioning from hgdownload-test.gi.ucsc.edu\n" - hubCheck "https://hgdownload-test.gi.ucsc.edu/hubs/GCA/009/914/755/GCA_009914755.4/hub.txt" + hubCheck -checkSettings "https://hgdownload-test.gi.ucsc.edu/hubs/GCA/009/914/755/GCA_009914755.4/hub.txt" @printf "hubCheck OK\n" @printf "track count: %d tracks via API list tracks\n" "`curl -L "https://genome-test.gi.ucsc.edu/list/tracks?genome=GCA_009914755.4;trackLeavesOnly=1;hubUrl=https://hgdownload-test.gi.ucsc.edu/hubs/GCA/009/914/755/GCA_009914755.4/hub.txt" 2> /dev/null | python -mjson.tool | egrep ": {$$" | tr -d '"' | sed -e 's/^ \+//; s/ {//;' | xargs echo | wc -w`" @printf "should be more than 70 tracks\n" # verify the hub is functioning OK from hgdownload.soe.ucsc.edu verify: @printf "# verify hub is functioning from hgdownload.soe.ucsc.edu\n" hubCheck "https://hgdownload.soe.ucsc.edu/hubs/GCA/009/914/755/GCA_009914755.4/hub.txt" @printf "hubCheck OK\n" @printf "track count: %d tracks via API list tracks\n" "`curl -L "https://apibeta.soe.ucsc.edu/list/tracks?genome=GCA_009914755.4;trackLeavesOnly=1;hubUrl=https://hgdownload-test.gi.ucsc.edu/hubs/GCA/009/914/755/GCA_009914755.4/hub.txt" 2> /dev/null | python -mjson.tool | egrep ": {$$" | tr -d '"' | sed -e 's/^ \+//; s/ {//;' | xargs echo | wc -w`" @printf "should be more than 70 tracks\n" # user must have login permissions as qateam to hgdownload verifyLogin: