[evla-sw-discuss] Headers of EVLA Scripts Produced by SSS Software
Bryan Butler
bbutler at nrao.edu
Mon Jan 10 22:23:12 EST 2011
as barry says, programName is used internally, in printers.py (and,
specifically, in myPrint(...). if it's not specified in the script, it
gets set to 'Unknown'.
it was useful back in the days of obs2script to distinguish in the
executor logs between statements printed by the script itself, and those
printed by the executor. i think it's still useful, though i do much
less executor log parsing than i was doing back in the day...
you should set programName to the same thing you set the program to in
the comments - OST, OPT, m2sStable, or m2sTest.
-bryan
David Harland wrote, On 1/10/11 14:15 PM:
>
> 2. In the scripts we are currently producing this (non-comment) line:
>
> programName = 'OPT'
>
> We're not currently using that variable anywhere (did we goof there?).
> The value 'OPT' is currently hardwired. My question has three parts:
>
> a. Should we continue creating this line?
>
> b. If "a" is "yes", should we be using it somewhere else in the script?
>
> c. If "a" is "yes", should we populate it with the program actually used
> to create the script, or must it continue to be hardwired to OPT?
>
>
>
> _______________________________________________
> evla-sw-discuss mailing list
> evla-sw-discuss at listmgr.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/evla-sw-discuss
More information about the evla-sw-discuss
mailing list