Skip to content

Commit 02f201f

Browse files
committed
Adding a better way to run the STata scan on BioHPC
1 parent d780496 commit 02f201f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/run_scanner.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ esac
3434

3535
CI=${CI-$CODESPACES}
3636

37+
# fix for running on BioHPC
38+
39+
hostname=$(hostname)
40+
if [[ ${hostname#*.} == "biohpc.cornell.edu" ]]
41+
then
42+
echo "Processing on BioHPC"
43+
CI=true
44+
module load stata || exit 2
45+
fi
46+
47+
3748
[[ -z $icpsrdir ]] && icpsrdir=$(ls -1d *| grep -E "^[1-9][0-9][0-9][0-9][0-9][0-9]$")
3849
if [[ -d $icpsrdir ]]
3950
then

0 commit comments

Comments
 (0)