Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /tests/rtest/tests/C1/assess.sh
ViewVC logotype

Annotation of /tests/rtest/tests/C1/assess.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5276 - (view) (download) (as text)

1 : cchiw 5276 #!/bin/sh
2 :    
3 :     if [ ! -r out.nrrd ] ; then
4 :     echo "fail"
5 :     exit
6 :     fi
7 :    
8 :    
9 :    
10 :     DOUBLE="--double"
11 :     if [ "$1" == "$DOUBLE" ]; then
12 :     unu 2op - out.nrrd correct_dbl.nrrd \
13 :     | unu reshape -s 1 8 \
14 :     | unu project -a 1 -m l1 \
15 :     | unu save -f text
16 :     else
17 :     unu 2op - out.nrrd correct_sng.nrrd \
18 :     | unu reshape -s 1 8 \
19 :     | unu project -a 1 -m l1 \
20 :     | unu save -f text
21 :     fi

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0