From 5c20be4bee077557ce5844f7cfd69bbc23f8f653 Mon Sep 17 00:00:00 2001 From: Nathan Baltzell Date: Tue, 13 Oct 2026 18:44:22 -0400 Subject: [PATCH] only get the same old 3 maps --- build-coatjava.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/build-coatjava.sh b/build-coatjava.sh index 257cd2a02c..7187ffc4b8 100755 --- a/build-coatjava.sh +++ b/build-coatjava.sh @@ -223,7 +223,12 @@ notify_retrieval() { # update an LFS submodule download_lfs() { cd $src_dir > /dev/null - git submodule update --init $1 + if [ "$#" -gt 1 ]; then + GIT_LFS_SKIP_SMUDGE=1 git submodule update --init $1 + for x in "${@:2}"; do $(cd $1 && git lfs pull --include $x); done + else + git submodule update --init $1 + fi cd - > /dev/null } @@ -266,7 +271,10 @@ if $auxDownloadMaps; then case $auxRetrieval in lfs) notify_retrieval 'field maps' 'lfs' - download_lfs etc/data/magfield + download_lfs etc/data/magfield \ + Symm_solenoid_r601_phi1_z1201_13June2018.dat \ + Symm_torus_r2501_phi16_z251_24Apr2018.dat \ + Full_torus_r251_phi181_z251_25Jan2021.dat ;; cvmfs|https) webDir=https://clasweb.jlab.org/clas12offline/magfield