Skip to content

Commit 99ba69d

Browse files
Update pipeline script for running stages 7 and 8
1 parent a63360d commit 99ba69d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ehthops/ehthops_pipeline.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ do
122122
# Run stage 7 after the 6 uvfits stage; INPUTDIR is now 6.uvfits
123123
if [ $stage == "7.+apriori" ]
124124
then
125-
SET_INPUTDIR="$workdir/6.uvfits" && SET_METADIR="${config[SET_METADIR]}" && SET_OBSYEAR="${config[SET_OBSYEAR]}" && source bin/0.launch
125+
SET_EHTIMPATH="${config[SET_EHTIMPATH]}" && SET_INPUTDIR="$workdir/6.uvfits" && SET_METADIR="${config[SET_METADIR]}" && SET_OBSYEAR="${config[SET_OBSYEAR]}" && SET_CAMPAIGN="${config[SET_CAMPAIGN]}" && source bin/0.launch
126126
source bin/1.antab2sefd
127127
source bin/2.applycal
128128
source bin/3.import
@@ -132,14 +132,14 @@ do
132132
# Run stage 8 after the 7 apriori stage; INPUTDIR is now 7.+apriori
133133
if [ $stage == "8.+polcal" ]
134134
then
135-
SET_INPUTDIR="$workdir/7.+apriori" && SET_METADIR="${config[SET_METADIR]}" && SET_OBSYEAR="${config[SET_OBSYEAR]}" && source bin/0.launch
135+
SET_EHTIMPATH="${config[SET_EHTIMPATH]}" && SET_INPUTDIR="$workdir/7.+apriori" && SET_METADIR="${config[SET_METADIR]}" && SET_OBSYEAR="${config[SET_OBSYEAR]}" && SET_CAMPAIGN="${config[SET_CAMPAIGN]}" && source bin/0.launch
136136
source bin/1.gainratiocal
137137
source bin/2.import
138138
source bin/3.average
139139
fi
140140

141141
# copy control files and necessary scripts to the next stage
142-
if [[ $stage != "7.+apriori" && $stage != "8.+polcal" ]]
142+
if [[ $stage != "8.+polcal" ]]
143143
then
144144
source bin/9.next
145145
fi

0 commit comments

Comments
 (0)