Skip to content

Commit 55b57a1

Browse files
committed
add hline before total and converged runs in tex conversion scripts
1 parent 167c64b commit 55b57a1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/estimnetdirectedEstimation2textableMultiModels.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ effectlist=`cat ${estimnet_tmpfile} | fgrep -vw TotalRuns | fgrep -vw ConvergedR
7676

7777
for effect in ${effectlist} ConvergedRuns TotalRuns
7878
do
79+
if [ ${effect} = "ConvergedRuns" ]; then
80+
echo '\hline'
81+
fi
7982
model=1
8083
echo -n "${effect} " | tr '_' ' '
8184
while [ $model -le $num_models ];

scripts/reorderEstimnetTextable.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ if [ $nuniq != $nfields ]; then
5252
fi
5353

5454
# assume format of input latex table from estimnetdirectedEstimation2textableMultiModels.sh
55-
# 7 header rows and 2 trailer rows
55+
# 7 header rows and 5 trailer rows
5656
headrows=7
57-
tailrows=2
57+
tailrows=5
5858
head -n${headrows} ${infile}
5959
cat ${infile} | tail -n+`expr ${headrows} + 1` |head -n-${tailrows} > ${tmpfile}
6060
nrows=`cat ${tmpfile} | wc -l`

0 commit comments

Comments
 (0)