File size: 654 Bytes
c50610a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# KAUST Genomic Risk Prediction - CLI Launcher
# Easy wrapper for running predictions from command line

set -e  # Exit on error

# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"

# Check if Python CLI wrapper exists
if [ ! -f "cli_wrapper.py" ]; then
    echo "❌ cli_wrapper.py not found in $SCRIPT_DIR"
    exit 1
fi

# Check if Python is available
if ! command -v python3 &> /dev/null; then
    echo "❌ Python 3 not found. Please install Python 3."
    exit 1
fi

# Run the CLI wrapper with all arguments passed to this script
python3 cli_wrapper.py "$@"