IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2010, 2:47:14 PM (16 years ago)
Author:
eugene
Message:

strip the NODE from the magic_process.pl baseroot and attach it to the outdir inside; if possible, run VerifyStreaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ippTasks/magic.pro

    r25419 r26812  
    283283    $WORKDIR = $WORKDIR_TEMPLATE
    284284
    285     sprintf outroot "%s/%s/%s.mgc.%s.%s" $WORKDIR $EXP_ID $EXP_ID $MAGIC_ID $NODE
    286 
    287     ## generate output log based on filerule (convert the URI to a PATH)
    288     ## caution with neb:// names here:
    289     # $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id $MAGIC_ID --basename $outroot`
    290     $logfile = $outroot.log
     285    sprintf baseroot "%s/%s/%s.mgc.%s" $WORKDIR $EXP_ID $EXP_ID $MAGIC_ID
     286
     287    $logfile = $baseroot.$NODE.log
    291288    if ("$logfile" == "")
    292289      echo "WARNING: logfile not defined in magic.process.run"
     
    299296    mkdir $outpath
    300297
    301     $run = magic_process.pl --magic_id $MAGIC_ID --camera $CAMERA --node $NODE --outroot $outroot --logfile $logfile
     298    $run = magic_process.pl --magic_id $MAGIC_ID --camera $CAMERA --node $NODE --baseroot $baseroot --logfile $logfile
    302299    add_standard_args run
    303300
Note: See TracChangeset for help on using the changeset viewer.