Datasets:
Download source_data/pinned/smart-anc/commit-301a6b8b9043/_processDataDictionary.sh from Vinyeh/AutoOntologyBench: direct link, hf CLI and curl.
- Browser
- Download file 948 Bytes
-
https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/refs%2Fpr%2F2/source_data/pinned/smart-anc/commit-301a6b8b9043/_processDataDictionary.sh
- Command line
-
hf download hf://datasets/Vinyeh/AutoOntologyBench@refs/pr/2/source_data/pinned/smart-anc/commit-301a6b8b9043/_processDataDictionary.sh
-
curl -L -o _processDataDictionary.sh https://huggingface.co/datasets/Vinyeh/AutoOntologyBench/resolve/refs%2Fpr%2F2/source_data/pinned/smart-anc/commit-301a6b8b9043/_processDataDictionary.sh
948 Bytes
| #DO NOT EDIT WITH WINDOWS | |
| tooling_jar=tooling-1.3.1-SNAPSHOT-jar-with-dependencies.jar | |
| input_cache_path=./input-cache | |
| datadictionary_filename="WHO-ANC.xlsx" | |
| datadictionary_sheetname="ANC.A. Registration,ANC.B5 Quick check,ANC.B6 Profile,ANC.B7 Symptoms & Follow-up,ANC.B8 Physical exam,ANC.B9 Lab tests & imaging,ANC.B10 Counselling & treatment,ANC.C. Referral,ANC.End End" | |
| scope="ANC" | |
| set -e | |
| tooling=$input_cache_path/$tooling_jar | |
| if test -f "$tooling"; then | |
| JAVA -jar $tooling -ProcessAcceleratorKit -s=$scope -pts=./input/l2/"$datadictionary_filename" -dep="$datadictionary_sheetname" -op=. | |
| else | |
| tooling=../$tooling_jar | |
| echo $tooling | |
| if test -f "$tooling"; then | |
| JAVA -jar $tooling -ProcessAcceleratorKit -s=$scope -pts=./input/l2/"$datadictionary_filename" -dep="$datadictionary_sheetname" -op=. | |
| else | |
| echo ProcessAcceloratorKit NOT FOUND in input-cache or parent folder. Please run _updateCQFTooling. Aborting... | |
| fi | |
| fi | |