Skip to content

Commit

Permalink
check for $wcs file
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jul 9, 2014
1 parent 7882705 commit 3243a01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/scripts/mirds9
Expand Up @@ -22,7 +22,7 @@
#
# $Id$
#
set version="3.6 - 16-sep-2012 PJT"
set version="3.6a - 9-jul-2014 PJT"

if ($#argv == 0) then
echo "Usage: $0 [-options] miriad_dataset [plane1] [plane2 ...]"
Expand Down Expand Up @@ -286,6 +286,9 @@ endif
if ($debug) then
echo Keeping $wcs
else
if (! -e $wcs || -z $wcs) then
echo "WARNING: Your $wcs file appear corrupted. Full /tmp perhaps?"
endif
rm -f $wcs
endif

0 comments on commit 3243a01

Please sign in to comment.