IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14487


Ignore:
Timestamp:
Aug 14, 2007, 11:25:23 AM (19 years ago)
Author:
Paul Price
Message:

Was adding the 'detrend' flag even though it wasn't!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/register_exp.pl

    r14486 r14487  
    139139
    140140# Add the detrend flag, if needed
    141 foreach my $scienceType (@SCIENCE) {
    142     if (lc($exp_type) =~ /$scienceType/) {
    143         last;
    144     }
    145     $command .= " $DETREND_FLAG";
     141{
     142    my $object = 0;             # Is it an object exposure?
     143    foreach my $scienceType (@SCIENCE) {
     144        if (lc($exp_type) =~ /$scienceType/) {
     145            $object = 1;
     146            last;
     147        }
     148    }
     149    $command .= " $DETREND_FLAG" unless $object;
    146150}
    147151
Note: See TracChangeset for help on using the changeset viewer.