Index: trunk/ippScripts/scripts/camera_exp.pl
===================================================================
--- trunk/ippScripts/scripts/camera_exp.pl	(revision 19294)
+++ trunk/ippScripts/scripts/camera_exp.pl	(revision 19332)
@@ -81,5 +81,5 @@
         { name => "fringe_0",       type => "mean",  flag => "-fringe_0",       dtype => "float" },
         { name => "fringe_1",       type => "rms",   flag => "-fringe_1",       dtype => "float" },
-        { name => "fringe_0",       type => "stdev", flag => "-fringe_2",       dtype => "float" },
+        { name => "fringe_2",       type => "stdev", flag => "-fringe_2",       dtype => "float" },
 #        { name => "sigma_ra",       type => "rms",   flag => "-sigma_ra",       dtype => "float" },
 #        { name => "sigma_dec",      type => "rms",   flag => "-sigma_dec",      dtype => "float" },
@@ -240,5 +240,5 @@
         $command  = "$psastro -list $list3Name $outroot";
         $command .= " -tracedest $traceDest -log $logDest";
-	$command .= " -stats $fpaStats -recipe PPSTATS CHIPSTATS";
+        $command .= " -stats $fpaStats -recipe PPSTATS CHIPSTATS";
         $command .= " -dbname $dbname" if defined $dbname;
 
@@ -253,21 +253,21 @@
         &my_die("Unable to find expected output file: $fpaStats",   $cam_id, $PS_EXIT_PROG_ERROR) unless -f $ipprc->file_resolve($fpaObjects);
 
-	# Get the statistics on the processed image
-	my $statsFile;              # File handle
-	open $statsFile, $ipprc->file_resolve($fpaStats) or &my_die("Can't open statistics file $fpaStats: $!", $cam_id, $PS_EXIT_SYS_ERROR);
-	my @contents = <$statsFile>; # Contents of file
-	close $statsFile;
-
-	# parse the statistics MDC file
-	my $mdcParser = PS::IPP::Metadata::Config->new();   # Parser for metadata config files
-	my $metadata = $mdcParser->parse(join "", @contents);
-	unless ($metadata) {
-	    &my_die("Unable to parse metadata config doc", $cam_id, $PS_EXIT_PROG_ERROR);
-	}
-
-	# extract the stats from the metadata
-	unless ($camStats->parse($metadata)) {
-	    &my_die("Failure extracting metadata from the statistics output file.\n", $cam_id, $PS_EXIT_PROG_ERROR);
-	}
+        # Get the statistics on the processed image
+        my $statsFile;              # File handle
+        open $statsFile, $ipprc->file_resolve($fpaStats) or &my_die("Can't open statistics file $fpaStats: $!", $cam_id, $PS_EXIT_SYS_ERROR);
+        my @contents = <$statsFile>; # Contents of file
+        close $statsFile;
+
+        # parse the statistics MDC file
+        my $mdcParser = PS::IPP::Metadata::Config->new();   # Parser for metadata config files
+        my $metadata = $mdcParser->parse(join "", @contents);
+        unless ($metadata) {
+            &my_die("Unable to parse metadata config doc", $cam_id, $PS_EXIT_PROG_ERROR);
+        }
+
+        # extract the stats from the metadata
+        unless ($camStats->parse($metadata)) {
+            &my_die("Failure extracting metadata from the statistics output file.\n", $cam_id, $PS_EXIT_PROG_ERROR);
+        }
 
         # run addstar on the output fpaObjects (if a DVO database is defined)
@@ -328,8 +328,8 @@
     if (defined $cam_id and not $no_update) {
         my $command = "$camtool -addprocessedexp";
-	$command .= " -cam_id $cam_id";
-	$command .= " -uri UNKNOWN";
-	$command .= " -code $exit_code";
-	$command .= " -path_base $outroot";
+        $command .= " -cam_id $cam_id";
+        $command .= " -uri UNKNOWN";
+        $command .= " -code $exit_code";
+        $command .= " -path_base $outroot";
         $command .= " -hostname $host" if defined $host;
         $command .= " -dbname $dbname" if defined $dbname;
