Index: trunk/ippScripts/scripts/ipp_detrend_combine.pl
===================================================================
--- trunk/ippScripts/scripts/ipp_detrend_combine.pl	(revision 15595)
+++ trunk/ippScripts/scripts/ipp_detrend_combine.pl	(revision 17096)
@@ -38,5 +38,5 @@
 my ($det_type, $filelevel, $inst, $telescope, $filter,
     $det_id1, $iter1, $det_id2, $iter2, $operation, $mask,
-    $workdir, $dbname, $no_update, $no_op);
+    $workdir, $dbname, $no_update);
 GetOptions(
 	   'det_type=s'    => \$det_type, # Detrend type for new detrend
@@ -54,5 +54,4 @@
 	   'dbname=s'      => \$dbname,	# Database name
 	   'no-update'     => \$no_update, # Don't update the database
-	   'no-op'         => \$no_op,	# Don't do any operations
 	   ) or pod2usage( 2 );
 
@@ -100,5 +99,5 @@
 
 my ($det_id, $iter);	      # Detrend identifier for the new detrend
-{
+unless ($no_update) {
     my $command = "$dettool -register_detrend -det_type $det_type -filelevel $filelevel -workdir $workdir " .
 	"-inst $inst -telescope $telescope"; # Command to run
@@ -168,5 +167,5 @@
 
     # Register the imfile
-    {
+    unless ($no_update) {
 	my $command = "$dettool -register_detrend_imfile -det_id $det_id "; # Command to run
 	$command .= " -class_id $class_id -uri $outName -path_base $outRoot";
