Changeset 17624 for trunk/ippTasks/register.pro
- Timestamp:
- May 9, 2008, 3:59:32 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/register.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/register.pro
r16300 r17624 140 140 set.host.for.camera $TMP_CAMERA $TMP_CLASS_ID 141 141 142 # raw workdir examples: 142 # set the WORKDIR variable 143 set.workdir.by.camera $TMP_CAMERA $TMP_CLASS_ID $WORKDIR_TEMPLATE $default_host WORKDIR 144 145 # notes on how this works: 146 # -- raw workdir examples: 143 147 # file://data/@HOST@.0/gpc1/20080130 144 148 # neb:///@HOST@-vol0/gpc1/20080130 (need to supply volname?, or are we re-defining this each time?) 145 set.workdir.by.camera $TMP_CAMERA $TMP_CLASS_ID $WORKDIR_TEMPLATE $default_host WORKDIR 146 # out workdir examples: 149 # -- out workdir examples: 147 150 # file://data/ipp004.0/gpc1/20080130 148 151 # neb:///ipp004-vol0/gpc1/20080130 149 152 150 ## generate output logfile name and convert URI to a PATH 151 sprintf logfile "%s/%s/%s.%s.reg.log" $WORKDIR $EXP_TAG $EXP_TAG $TMP_CLASS_ID 153 ## generate outroot specific to this exposure (& chip) 154 sprintf logfile "%s/%s/%s.reg.%s.log" $WORKDIR $EXP_TAG $EXP_TAG $TMP_CLASS_ID 155 156 ## generate output log based on filerule (convert the URI to a PATH) 157 ## note that we use ipp_datapath here not ipp_filename because the CAMERA name is not yet controlled 152 158 $logfile = `ipp_datapath.pl $logfile` 159 if ("$logfile" == "") 160 echo "WARNING: logfile not defined in register.pro:160" 161 break 162 end 153 163 154 164 stdout $logfile … … 261 271 set.host.for.camera $TMP_CAMERA $TMP_CLASS_ID 262 272 263 # raw workdir examples: 273 # set the WORKDIR variable 274 set.workdir.by.camera $TMP_CAMERA $TMP_CLASS_ID $WORKDIR_TEMPLATE $default_host WORKDIR 275 276 # notes on how this works: 277 # -- raw workdir examples: 264 278 # file://data/@HOST@.0/gpc1/20080130 265 279 # neb:///@HOST@-vol0/gpc1/20080130 (need to supply volname?, or are we re-defining this each time?) 266 set.workdir.by.camera $TMP_CAMERA $TMP_CLASS_ID $WORKDIR_TEMPLATE $default_host WORKDIR 267 # out workdir examples: 280 # -- out workdir examples: 268 281 # file://data/ipp004.0/gpc1/20080130 269 282 # neb:///ipp004-vol0/gpc1/20080130 … … 271 284 ## generate output log based on filerule 272 285 sprintf logfile "%s/%s/%s.reg.log" $WORKDIR $EXP_TAG $EXP_TAG 286 287 ## generate output log based on filerule (convert the URI to a PATH) 288 ## note that we use ipp_datapath here not ipp_filename because the CAMERA name is not yet controlled 273 289 $logfile = `ipp_datapath.pl $logfile` 290 if ("$logfile" == "") 291 echo "WARNING: logfile not defined in register.pro:291" 292 break 293 end 274 294 275 295 stdout $logfile
Note:
See TracChangeset
for help on using the changeset viewer.
