Adjusted all working routes, full docker pipeline verified, added extra validations for docker, reduced julia environment, tested run succesful

This commit is contained in:
Pixelguy14
2026-10-08 20:51:43 -06:00
parent 19fdd8af16
commit bab8f4d2a9
28 changed files with 290 additions and 499 deletions
+12 -1
View File
@@ -39,12 +39,23 @@ else
[ -n "$name" ] && DATASETS+=("$name")
done < <(for d in "$DATA_ROOT"/*/; do
[ -d "$d" ] || continue
if ls "$d"*.imzML "$d"*.imzml >/dev/null 2>&1; then basename "$d"; fi
# Case-insensitive match (.imzML / .imzml / .IMZML); `find -iname` avoids the
# glob-pair pitfall where a non-matching pattern makes `ls` return non-zero.
if [ -n "$(find "$d" -maxdepth 1 -type f -iname '*.imzml' -print -quit 2>/dev/null)" ]; then
basename "$d"
fi
done | sort)
fi
if [ "${#DATASETS[@]}" -eq 0 ]; then
echo "ERROR: no datasets with an .imzML found under '$DATA_ROOT'." >&2
echo " Each dataset must be in its own subfolder:" >&2
echo " $DATA_ROOT/<name>/<file>.imzML (+ <file>.ibd)" >&2
if [ -n "$(find "$DATA_ROOT" -maxdepth 1 -type f -iname '*.imzml' -print -quit 2>/dev/null)" ]; then
echo " Note: .imzML file(s) were found directly in '$DATA_ROOT' (loose files are ignored)." >&2
echo " Move each into its own subfolder, e.g.:" >&2
echo " mkdir -p $DATA_ROOT/<name> && mv $DATA_ROOT/*.imzML $DATA_ROOT/*.ibd $DATA_ROOT/<name>/" >&2
fi
exit 1
fi