Editing
Scanco Administration
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Create your own IPL script=== To make a script that would submit a job to the queue with the command as follows: <pre> $ @um:ipl_eval_only.com 'aim_file' 'gobj_file' 'p1' 0 </pre> you need to create your own IPL file would be translated to the following command: <pre> $ submit /noprint /que=sys$slow ue:IPL_VOI_JOSH_M.COM - /log=sys$scratch:test.log /para=('aim_file','gobj_file','seg_file') </pre> The IPL file would look something like this⦠<pre> $ if p1 .EQS. "" $ THEN $ write sys$output "Give DK0:[xxx]C0001234_SEG.aim on the line." $ write sys$output "Or: " $ write sys$output "Type $ scanco_submit_command um:ipl_eval_autostart/para=(dk0:[xxx]c00123_seg.aim) " $ exit $ endif $ $ gobj_file = p1-F$PARSE(p1,,,"VERSION")-"_SEG.AIM" + ".GOBJ" $ aim_file = p1-F$PARSE(p1,,,"VERSION")-"_SEG.AIM" + ".AIM" $ $! $ @um:ipl_eval_only.com 'aim_file' 'gobj_file' 'p1' 0 $ exit </pre> Some more handy IPL sequences are: <pre> $ INPUT = F$SEARCH("UCT_MEASUREMENT_DATA:[*.*''P1']*.RSQ",1) </pre> and then you just need to give meas. number as P1 (and maybe slice range as p2), <pre> $ if p2 .eqs. "" then p2 := A </pre> OR, some nice starts are: <pre> $ IF P3 .EQS. "" $ THEN $ WRITE SYS$OUTPUT "P1: Measurement Number to duplicate" $ WRITE SYS$OUTPUT "P2: New Sample Number from Database" $ WRITE SYS$OUTPUT "P3: New Start Letter of ISQ file" $ WRITE SYS$OUTPUT "P4: Optional: Operator Number" $ WRITE SYS$OUTPUT "P5: Optional: Controlfile Number" $ EXIT $ ENDIF </pre> where you say which parameters HAVE to be there (up to p3), and which ones are optional. All together, the script may look like this: <pre> $ IF P1 .EQS. "" $ THEN $ WRITE SYS$OUTPUT "P1: Measurement Number to reco" $ WRITE SYS$OUTPUT "P2: Optional: Slice number N or Range M:N. Auto:All" $ WRITE SYS$OUTPUT "P3: Optional: Queue. Auto: sys$slow" $ EXIT $ ENDIF $ if p2 .eqs. "" then p2 := A $ if p3 .eqs. "" then p3 := SYS$SLOW $ slices = p2 $ quename = p3 $ INPUT = F$SEARCH("UCT_MEASUREMENT_DATA:[*.*''P1']*.RSQ",1) $ INPUT = INPUT - F$PARSE(INPUT,,,"VERSION") $ logfile = "sys$scratch:RECO_" + f$PARSE(input,,,"NAME") + ".LOG" $ submit/noprint/queue='quename' uct_reconstruction_file - /para=('input','slices','logfile') $ exit </pre> Note that <code>uct_reconstruction_file</code> is a logical that points to <code>um:uct_reconstruction.com</code>. Logicals are preferred in scripts to make them more universal. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']]
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information