Verified Commit 8838ea5d authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Update nr_launcher for pixi

parent 0276e08d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
Name:           nsd-app-wrap
Version:        2.17
Version:        2.18
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson

src/nr_launcher

100644 → 100755
+11 −1
Original line number Diff line number Diff line
#!/bin/bash
cd /SNS/REF_L/shared/launcher; python launcher.py

# import library to do the real work
# shellcheck disable=SC1091
. "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" \
  || . /bin/nsd-app-wrap.sh


# put together arguments - conda_env, application, argv
args=("refl1d" "python /SNS/REF_L/shared/launcher/launcher.py" "$@")
# launch the tool
pixi_launch "${args[@]}"