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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5276 - (download) (as text) (annotate)
Thu Aug 10 03:48:46 2017 UTC (2 years, 2 months ago) by cchiw
File size: 336 byte(s)
added regression test
#!/bin/sh

if [ ! -r out.nrrd ] ; then
  echo "fail"
  exit
fi



DOUBLE="--double"
if [ "$1" == "$DOUBLE" ]; then
unu 2op - out.nrrd correct_dbl.nrrd \
| unu reshape -s 1 8 \
| unu project -a 1 -m l1 \
| unu save -f text
else
unu 2op - out.nrrd correct_sng.nrrd \
| unu reshape -s 1 8 \
| unu project -a 1 -m l1 \
| unu save -f text
fi

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