IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2006, 12:56:06 PM (19 years ago)
Author:
Paul Price
Message:

Convert back to relative paths when putting filenames into the database.

File:
1 edited

Legend:

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

    r10145 r10534  
    3131# Define setup
    3232use constant TYPE => "exp_type"; # Observation type keyword
    33 use constant DETRENDS => [ "bias", "dark", "shutter", "flat", "fringe" ]; # Observation types to mark as detrend
     33use constant DETRENDS => [ "bias", "zero", "dark", "shutter", "flat", "fringe" ]; # Observation types to mark as detrend
    3434use constant DETREND_FLAG => "-detrend"; # Flag to use to mark detrend exposure
    3535
     
    154154    # Add the detrend flag
    155155    foreach my $detrendType (@{DETRENDS()}) {
    156         if (lc($values{TYPE()}) eq lc($detrendType)) {
     156        if (lc($values{TYPE()}) =~ /$detrendType/) {
    157157            push @command, DETREND_FLAG;
    158158            last;
Note: See TracChangeset for help on using the changeset viewer.