IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39114 for trunk/tools


Ignore:
Timestamp:
Nov 12, 2015, 2:49:37 PM (11 years ago)
Author:
bills
Message:

If --exp_id is supplied on the command line use that value instead
of the one from the file name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bills/concatsmf

    r39002 r39114  
    2222my ($ota, $save_temps, $verbose);
    2323my $test_smf;
     24my $supplied_exp_id;
    2425
    2526GetOptions(
    2627    "ota|o=s"           =>  \$ota,
     28    "exp_id=s"          =>  \$supplied_exp_id,
    2729    "vebose|v"          =>  \$verbose,
    2830    "save-temps"        =>  \$save_temps,
     
    7375
    7476($exp_name, $exp_id, undef, $cam_id) = split '\.', $infilename;
     77
     78$exp_id = $supplied_exp_id if ($supplied_exp_id);
    7579
    7680print "$exp_name $exp_id $cam_id\n" if $verbose;
Note: See TracChangeset for help on using the changeset viewer.