[Casa-framework] python object
Kumar Golap
kgolap at nrao.edu
Wed Sep 13 20:28:08 EDT 2006
My Question is how do we make such scripts automatically be aware of
interface changes in the tools...or at least the programmer should be
warned of dependent scripts.
When and if i make a change in imager.xml and regenerate a new
interface for the method setimage say...i need to be warned that such
and such tasks are using imager.setimage...so that i can modify them
by hand.
A simple solution could just be a small shell script that grep all
the tasks and warn me.
Kumar
On 9/13/06, Joseph P. McMullin <jmcmulli at nrao.edu> wrote:
> All,
>
> Attached is our first task as Python object. I'm actually reasonably
> happy about this course for being able to quickly implement/modify
> tasks for the users. I did run into some namespace/scope issues
> however that I'd appreciate some feedback on. In particular, I don't
> have access to the global variables within my class/function and so I
> have to recreate my environment. Note, I initially did this as a class
> but then for this single instance changed it to just a function.
> All I need to do is add the error checking and then it will be short
> work to extend this for the other tools. The one issue is whether
> these will be able to interact with the parameter setting interface of
> Darrell - I believe we'll need this.
> Anyway, please review and comment as appropriate. I've also attached a
> list of frustrations that I encountered along the way with the
> stability of things.
> Joe
>
>
> --
> Dr. Joseph P. McMullin W: +15058357327
> Scientist F: +15058357027
> NRAO email: jmcmulli at nrao.edu
> 1003 Lopezville Rd
> Socorro, NM 87801
>
>
>
More information about the Casa-framework
mailing list