IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16332


Ignore:
Timestamp:
Feb 5, 2008, 6:04:33 PM (18 years ago)
Author:
Paul Price
Message:

Adding verbosity switch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Operations.pm

    r16330 r16332  
    11# Copyright (c) 2007  Paul Price
    22#
    3 # $Id: Operations.pm,v 1.6 2008-02-06 03:59:46 price Exp $
     3# $Id: Operations.pm,v 1.7 2008-02-06 04:04:33 price Exp $
    44
    55package PS::IPP::Operations;
     
    5050    my $skycells = shift;       # List of skycell ids
    5151    my $workdir = shift;        # Working directory
     52    my $verbose = shift;        # Verbose?
    5253
    5354    unless (defined $ipprc and defined $tess_id and defined $skycells and defined $workdir) {
     
    7273            my $command = "$dvoImageExtract -D CATDIR $tess_dir $skycell_id -o $skyFileResolved";
    7374            my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    74                 run(command => $command, verbose => 1);
     75                run(command => $command, verbose => $verbose);
    7576            unless ($success) {
    7677                carp "Unable to perform dvoImageExtract for $tess_id $skycell_id";
Note: See TracChangeset for help on using the changeset viewer.