Changeset 24707
- Timestamp:
- Jul 7, 2009, 1:29:37 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
ippScripts/scripts/publish_file.pl (modified) (3 diffs)
-
ippTasks/publish.pro (modified) (2 diffs)
-
ippTools/share/pubtool_pending.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/publish_file.pl
r24640 r24707 39 39 40 40 # Parse the command-line arguments 41 my ( $pub_id, $ camera, $stage, $stage_id, $format, $product, $workdir );41 my ( $pub_id, $exp_id, $camera, $stage, $stage_id, $format, $product, $workdir ); 42 42 my ( $dbname, $verbose, $no_update, $save_temps, $redirect ); 43 43 44 44 GetOptions( 45 45 'pub_id=s' => \$pub_id, # Publish identifier 46 'exp_id=s' => \$exp_id, # Exposure identifier 46 47 'camera=s' => \$camera, # Camera name 47 48 'stage=s' => \$stage, # Stage of interest … … 57 58 58 59 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 59 pod2usage( -msg => "Required options: --pub_id -- camera --stage --stage_id --product --workdir",60 pod2usage( -msg => "Required options: --pub_id --exp_id --camera --stage --stage_id --product --workdir", 60 61 -exitval => $PS_EXIT_CONFIG_ERROR) unless 61 62 defined $pub_id and 63 defined $exp_id and 62 64 defined $camera and 63 65 defined $product and … … 66 68 defined $workdir; 67 69 68 my $outroot = "$workdir/$product.$pub_id "; # Output root name70 my $outroot = "$workdir/$product.$pub_id.$exp_id"; # Output root name 69 71 70 72 my $ipprc = PS::IPP::Config->new( $camera ) or -
trunk/ippTasks/publish.pro
r24515 r24707 161 161 book getword publishRun $pageName stage -var STAGE 162 162 book getword publishRun $pageName stage_id -var STAGE_ID 163 book getword publishRun $pageName exp_id -var EXP_ID 163 164 book getword publishRun $pageName dbname -var DBNAME 164 165 … … 169 170 strsub $WORKDIR_TEMPLATE @HOST@ $default_host -var WORKDIR 170 171 171 $run = publish_file.pl --pub_id $PUB_ID -- camera $CAMERA --workdir $WORKDIR --product $PRODUCT --stage $STAGE --stage_id $STAGE_ID --redirect-output172 $run = publish_file.pl --pub_id $PUB_ID --exp_id $EXP_ID --camera $CAMERA --workdir $WORKDIR --product $PRODUCT --stage $STAGE --stage_id $STAGE_ID --redirect-output 172 173 add_standard_args run 173 174 -
trunk/ippTools/share/pubtool_pending.sql
r24512 r24707 10 10 publishClient.workdir, 11 11 diffRun.diff_id AS stage_id, 12 rawExp.camera 12 rawExp.camera, 13 rawExp.exp_id 13 14 FROM publishRun 14 15 JOIN publishClient USING(client_id) … … 33 34 publishClient.workdir, 34 35 camRun.cam_id AS stage_id, 35 rawExp.camera 36 rawExp.camera, 37 rawExp.exp_id 36 38 FROM publishRun 37 39 JOIN publishClient USING(client_id)
Note:
See TracChangeset
for help on using the changeset viewer.
