From bca65a6af6392ac9c7eea01910ea9b97fa160028 Mon Sep 17 00:00:00 2001 From: Neurodesk Github Action Runner Date: Fri, 15 Nov 2024 00:27:14 +0000 Subject: [PATCH] samsrfx v10 --- recipes/samsrfx/README.md | 10 +++++----- recipes/samsrfx/build.sh | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/recipes/samsrfx/README.md b/recipes/samsrfx/README.md index 9bc90c57..b85719da 100644 --- a/recipes/samsrfx/README.md +++ b/recipes/samsrfx/README.md @@ -1,15 +1,15 @@ ---------------------------------- -## samsrfx/toolVersion ## -conn standalone with Matlab Compiler Runtime +## samsrfx/v10 ## +SamsrfX standalone with Matlab Compiler Runtime Example: ``` -/opt/samsrfx-toolVersion/samsrf/run_SamSrfX.sh /opt/MCR-2023b/R2023b/ +samsrfx ``` -More documentation can be found here: +More documentation can be found here: https://github.com/samsrf/samsrf -To run container outside of this environment: ml samsrfx/toolVersion +To run container outside of this environment: ml samsrfx/v10 ---------------------------------- diff --git a/recipes/samsrfx/build.sh b/recipes/samsrfx/build.sh index 486c35ee..dabd0794 100644 --- a/recipes/samsrfx/build.sh +++ b/recipes/samsrfx/build.sh @@ -2,7 +2,7 @@ set -e export toolName='samsrfx' -export toolVersion='0.0.2' +export toolVersion='v10' if [ "$1" != "" ]; then echo "Entering Debug mode" @@ -20,17 +20,17 @@ neurodocker generate ${neurodocker_buildMode} \ --matlabmcr version=2023b method=binaries \ --install wget openjdk-8-jre dbus-x11 libgbm-dev \ --workdir /opt/${toolName}-${toolVersion}/ \ - --run="wget --no-check-certificate --progress=bar:force -P /opt/${toolName}-${toolVersion}/ https://object-store.rc.nectar.org.au/v1/AUTH_dead991e1fa847e3afcca2d3a7041f5d/build/samsrf_241003.zip \ - && unzip -q samsrf_241003.zip -d /opt/${toolName}-${toolVersion}/ \ + --run="wget --no-check-certificate --progress=bar:force -P /opt/${toolName}-${toolVersion}/ https://object-store.rc.nectar.org.au/v1/AUTH_dead991e1fa847e3afcca2d3a7041f5d/build/samsrf_${toolVersion}.zip \ + && unzip -q samsrf_${toolVersion}.zip -d /opt/${toolName}-${toolVersion}/ \ && chmod a+x /opt/${toolName}-${toolVersion}/samsrf/SamSrfX \ - && rm -f samsrf_241003.zip" \ - --env DEPLOY_BINS=SamSrfX \ - --env PATH=/opt/${toolName}-${toolVersion}/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ + && rm -f samsrf_${toolVersion}.zip" \ + --env DEPLOY_BINS=samsrfx \ + --run="echo '/opt/samsrfx-${toolVersion}/samsrf/run_SamSrfX.sh /opt/MCR-2023b/R2023b/' > samsrfx \ + && chmod a+x samsrfx" \ + --env PATH='$PATH':/opt/${toolName}-${toolVersion}/ \ --copy README.md /README.md \ > ${toolName}_${toolVersion}.Dockerfile -#note: neurodocker installs a specific update version of the matlab runtime environment - this could cause problems. - if [ "$1" != "" ]; then ./../main_build.sh fi