IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38582 for trunk/ippTasks


Ignore:
Timestamp:
Jul 8, 2015, 1:54:31 PM (11 years ago)
Author:
heather
Message:

sas39 multimode works now

Location:
trunk/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/addstar.pro

    r38480 r38582  
    3939    active true
    4040    end
     41end
     42macro addstar.multi.on
    4143  task addstar.multiexp.load
    4244    active true
    … …  
    5456    active false
    5557  end
     58end
     59macro addstar.multi.off
    5660  task addstar.multiexp.load
    5761    active false
    … …  
    328332  task.exec
    329333    #if no stages defined we can't run
    330     if ($MULTIADDSTAGES:n == 0) echo "what"
     334    if ($MULTIADDSTAGES:n == 0) echo "no stages for addstar.multi, use add.addstagesmulti"
    331335 #   if ($MULTIADDSTAGES:n == 0) break
    332336    $run = addtool -pendingexp
    333337   
    334338    #option $ADDSTAGES:$addstar_stages_DB
    335     $run = $run -stage $MULTIADDSTAGES:$addstar_multi_stages_DB -multimode 
     339    $run = $run -stage $MULTIADDSTAGES:$addstar_multi_stages_DB -multiadd 
    336340    option $DB:$addstar_multi_DB
    337341    $run = $run -dbname $DB:$addstar_multi_DB
    … …  
    413417    book getword addPendingExp $pageName dbname -var DBNAME
    414418
     419
    415420    # specify choice of remote host based on camera and chip (class_id)
    416421    # set.host.for.camera $CAMERA FPA
    … …  
    555560    book getword addPendingMultiExp $pageName image_only -var IMAGE_ONLY
    556561    book getword addPendingMultiExp $pageName dbname -var DBNAME
     562    book getword addPendingMultiExp $pageName label -var LABEL
    557563
    558564    # specify choice of remote host based on camera and chip (class_id)
    … …  
    596602    stderr $LOGDIR/addstar.multiexp.log
    597603
    598     $run = addstar_multi_run.pl --add_id $ADD_ID --camera $CAMERA --dvodb $DVODB --stage $STAGE --stageroot $STAGEROOT --outroot $outroot --redirect-output
     604    $run = addstar_multi_run.pl --stage_id $STAGE_ID --label $LABEL --camera $CAMERA --dvodb $DVODB --stage $STAGE --stageroot $STAGEROOT --outroot $outroot --redirect-output
    599605    if ("$REDUCTION" != "NULL")
    600606      $run = $run --reduction $REDUCTION
    … …  
    609615      $run = $run --stage_id $STAGE_ID
    610616    end
    611    if ("$STAGE" == "diff")
    612       $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1
    613     end
    614    if ("$STAGE" == "fullforce")
    615       $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1
    616     end
     617   #if ("$STAGE" == "diff")
     618   #   $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1
     619   # end
     620   #if ("$STAGE" == "fullforce")
     621   #   $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1
     622   # end
    617623
    618624
  • trunk/ippTasks/survey.pro

    r37786 r38582  
    10211021    end
    10221022    if ("$stage" == "diff")
    1023         $run = $run -uncensored)
     1023        $run = $run -uncensored
    10241024    end
    10251025    # we need to handle isp/gpc1: gpc1 wants destreaked, isp wants uncensored.  Perhaps the best way is by default do destreaked (the most paranoid), and if db = isp (is this the best way?) then do uncensored
Note: See TracChangeset for help on using the changeset viewer.