IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2008, 5:02:12 PM (18 years ago)
Author:
Paul Price
Message:

Need to create the output directory

File:
1 edited

Legend:

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

    r16336 r16752  
    77use PS::IPP::Metadata::Config;
    88use PS::IPP::Metadata::List qw( parse_md_list );
     9use PS::IPP::Config qw( caturi );
    910use Data::Dumper;
    1011
     
    3435
    3536my $mdcParser = PS::IPP::Metadata::Config->new; # Metadata config parser
     37my $ipprc = PS::IPP::Config->new; # IPP Configuration
    3638
    3739# Look for programs we need
     
    5961   
    6062    $workdir = $workdir_default unless (defined $workdir or $workdir ne "NULL");
    61     my $outroot = $workdir . '/' . ${exp_tag} . '/' . ${exp_tag} . '.cm.' . ${cam_id};
     63    my $outroot = caturi( $workdir, $exp_tag, "$exp_tag.cm.$cam_id" );
     64    $ipprc->outroot_prepare( $outroot );
    6265
    6366    my $command = "$camera_exp --cam_id $cam_id --exp_tag $exp_tag --camera $camera --dbname $dbname";
Note: See TracChangeset for help on using the changeset viewer.