-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·39 lines (32 loc) · 1.24 KB
/
setup.sh
File metadata and controls
executable file
·39 lines (32 loc) · 1.24 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# Setup script for ComparativeAgingV3 repository
# This script installs SRtools package with requirements and downloads posterior data
set -e # Exit on error
echo "=========================================="
echo "ComparativeAgingV3 Setup Script"
echo "=========================================="
echo ""
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
echo "Step 1: Installing SRtools package and requirements..."
echo "------------------------------------------------------"
cd SRtools
pip install -r requirements.txt
pip install -e .
cd "$SCRIPT_DIR"
echo "✓ SRtools installed successfully"
echo ""
echo "Step 2: Downloading posterior distribution data..."
echo "------------------------------------------------------"
python download_posterior_data.py
echo ""
echo "=========================================="
echo "Setup completed successfully!"
echo "=========================================="
echo ""
echo "Next steps:"
echo " - Review the README.md for information about the repository structure"
echo " - Run notebooks in the Figures/ directory to reproduce figures"
echo " - Check individual folder READMEs for specific analysis instructions"
echo ""