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_chip.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
     
    7375            $workdir = $workdir_default unless (defined $workdir or $workdir ne "NULL");
    7476
    75             my $outroot = $workdir . '/' . ${exp_tag} . '/' . ${exp_tag} . '.ch.' . ${chip_id};
     77            my $outroot = caturi( $workdir, $exp_tag, "$exp_tag.ch.$chip_id" );
     78            $ipprc->outroot_prepare( $outroot );
    7679
    7780            my $command = "$chip --chip_id $chip_id --exp_id $exp_id --exp_tag $exp_tag --class_id $class_id --uri $uri --dbname $dbname --camera $camera --outroot $outroot";
Note: See TracChangeset for help on using the changeset viewer.