Datasets:
Download source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.sh from Vinyeh/AutoOntologyBench: direct link, hf CLI and curl.
- Browser
- Download file 708 Bytes
-
https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/main/source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.sh
- Command line
-
hf download hf://datasets/Vinyeh/AutoOntologyBench/source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.sh
-
curl -L -o _refresh.sh https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/main/source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.sh
708 Bytes
| #DO NOT EDIT WITH WINDOWS | |
| tooling_jar=tooling-cli-3.8.0.jar | |
| input_cache_path=./input-cache | |
| ig_ini_path=$PWD/ig.ini | |
| set -e | |
| echo Checking internet connection... | |
| wget -q --spider tx.fhir.org | |
| if [ $? -eq 0 ]; then | |
| echo "Online" | |
| fsoption="" | |
| else | |
| echo "Offline" | |
| fsoption="" | |
| fi | |
| echo "$fsoption" | |
| tooling=$input_cache_path/$tooling_jar | |
| if test -f "$tooling"; then | |
| java -jar $tooling -RefreshIG -ini="$ig_ini_path" -d -p -t $fsoption | |
| else | |
| tooling=../$tooling_jar | |
| echo $tooling | |
| if test -f "$tooling"; then | |
| java -jar $tooling -RefreshIG -ini="$ig_ini_path" -d -p -t $fsoption | |
| else | |
| echo IG Refresh NOT FOUND in input-cache or parent folder. Please run _updateCQFTooling. Aborting... | |
| fi | |
| fi | |