IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24711


Ignore:
Timestamp:
Jul 7, 2009, 3:56:37 PM (17 years ago)
Author:
bills
Message:

choose host based on component (skycell or class_id)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/magic.pro

    r24690 r24711  
    7171    end
    7272    task magic.ds.revert.run
    73         active false
     73        active true
    7474    end
    7575end
     
    604604    sprintf logfile "%s/%s.mds.revert.%s.%s.%s.log" $OUTROOT $EXP_ID $MAGIC_DS_ID $STAGE_ID $COMPONENT
    605605
    606     host anyhost
     606    substr $COMPONENT 0 3 COMP_HEAD
     607    if ("$COMP_HEAD" == "sky")
     608        set.host.for.skycell $COMPONENT
     609    else
     610        # assume component is a class_id, if not we will default to anyhost
     611        set.host.for.camera $CAMERA $COMPONENT
     612    end
    607613
    608614    $run = magic_destreak_revert.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --outroot $OUTROOT --logfile $logfile --replace $REPLACE
Note: See TracChangeset for help on using the changeset viewer.