Skip to content

Commit

Permalink
Merge pull request #82 from LSSTDESC/integration
Browse files Browse the repository at this point in the history
wrap the call to cosmosis-configure
  • Loading branch information
heather999 authored Jan 13, 2023
2 parents 4f4761c + ae4a8ef commit 46bd51d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nersc/setup_td_int.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
# Feb 2020: install SNANA on Cori
#

# Avoid passing parameters from this script to cosmosis
wrapcosmosis() {
source cosmosis-configure
}


echo "RUNNING TD_ENV INTEGRATION VERSION"

SCRIPT=${BASH_SOURCE[0]}
Expand Down Expand Up @@ -126,7 +132,7 @@ esac

if [[ "$cosmosis" ]];
then
source cosmosis-configure
wrapcosmosis
fi

export SNANA_LSST_SIM="$SNANA_SCRATCH/SNANA_LSST_SIM"
Expand Down

0 comments on commit 46bd51d

Please sign in to comment.