first commit, migrated repository to contain the scripts only
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
# =============================================================================
|
||||
# run_full_pipeline.sh -- seven-stage MSI pipeline (one or many datasets)
|
||||
#
|
||||
# bash run_full_pipeline.sh # every dataset under datos_para_ai/
|
||||
# bash run_full_pipeline.sh # every dataset under ai_data/
|
||||
# bash run_full_pipeline.sh Datura_leaf # a single dataset
|
||||
# MSI_K=5 bash run_full_pipeline.sh Datura_leaf
|
||||
#
|
||||
# Each dataset lives in datos_para_ai/<name>/ and must contain exactly one
|
||||
# Each dataset lives in ai_data/<name>/ and must contain exactly one
|
||||
# .imzML file and its sibling .ibd binary (optional ROI mask .png).
|
||||
#
|
||||
# Stages: 1 Julia preprocessing -> 2 SimCLR -> 3 K sweep -> 4 t-SNE + K-Means
|
||||
@@ -16,7 +16,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
DATA_ROOT="${MSI_DATA_ROOT:-$ROOT/datos_para_ai}"
|
||||
DATA_ROOT="${MSI_DATA_ROOT:-$ROOT/ai_data}"
|
||||
ENV_DIR="$ROOT/environment"
|
||||
|
||||
# Native runs: prefer a repo-local venv/ if one exists (ignored inside Docker).
|
||||
@@ -26,7 +26,7 @@ fi
|
||||
|
||||
if [ ! -d "$DATA_ROOT" ]; then
|
||||
echo "ERROR: dataset root '$DATA_ROOT' not found." >&2
|
||||
echo " Create it and add datos_para_ai/<name>/<file>.imzML (+ .ibd)." >&2
|
||||
echo " Create it and add ai_data/<name>/<file>.imzML (+ .ibd)." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user