Datasets:
Download source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.bat from Vinyeh/AutoOntologyBench: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/main/source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.bat
- Command line
-
hf download hf://datasets/Vinyeh/AutoOntologyBench/source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.bat
-
curl -L -o _refresh.bat https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/main/source_data/pinned/smart-anc/commit-301a6b8b9043/_refresh.bat
1 kB
| @ECHO OFF | |
| SET tooling_jar=tooling-cli-3.8.0.jar | |
| SET input_cache_path=%~dp0input-cache | |
| SET ig_ini_path=%~dp0ig.ini | |
| ECHO Checking internet connection... | |
| PING tx.fhir.org -n 1 -w 1000 | FINDSTR TTL && GOTO isonline | |
| ECHO We're offline... | |
| SET fsoption= | |
| GOTO igpublish | |
| :isonline | |
| ECHO We're online, setting publish to local sandbox FHIR server | |
| SET fsoption= | |
| :igpublish | |
| SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 | |
| IF EXIST "%input_cache_path%\%tooling_jar%" ( | |
| ECHO running: JAVA -jar "%input_cache_path%\%tooling_jar%" -RefreshIG -ini="%ig_ini_path%" -t -d -p %fsoption% | |
| JAVA -jar "%input_cache_path%\%tooling_jar%" -RefreshIG -ini="%ig_ini_path%" -t -d -p %fsoption% | |
| ) ELSE If exist "..\%tooling_jar%" ( | |
| ECHO running: JAVA -jar "..\%tooling_jar%" -RefreshIG -ini="%ig_ini_path%" -t -d -p %fsoption% | |
| JAVA -jar "..\%tooling_jar%" -RefreshIG -ini="%ig_ini_path%" -t -d -p %fsoption% | |
| ) ELSE ( | |
| ECHO IG Refresh NOT FOUND in input-cache or parent folder. Please run _updateCQFTooling. Aborting... | |
| ) | |
| PAUSE | |