[Casa-framework] ::casac::variant as output parameter crashes casapy

Darrell Schiebel darrell at schiebel.us
Wed Dec 20 17:03:41 EST 2006


I can't think of any reason why this would not be supported. When I  
am able, I'll try it out.

Darrell

On Dec 20, 2006, at 4:42 PM, Raymond Rusk wrote:

> Hi,
>
> Can an output parameter be of type ::casac::variant?  I have been  
> using
> ::casac::variant as a return type without difficulty but I find that
> casapy crashes when they are used as output parameters and contain
> a value, even something as innocuous as:
>
>     out_pixelmask = ::casac::initialize_variant("");
>     out_pixels = ::casac::initialize_variant("");
>
> Raymond
>
> -- 
> Dr. Raymond Rusk                                        Dr. Raymond  
> Rusk
> ALMA Software Engineer                           Ingenieur Logiciel  
> ALMA
> National Research Council Canada   Conseil national de recherches  
> Canada
> Herzberg Institute of Astrophysics   L'Institut Herzberg  
> d'Astrophysique
> DRAO, P.O. Box 248                                    OFRA, B.P.  
> Box 248
> Penticton, BC V2A 6J9           |\^/|         Penticton, (C.-B.)  
> V2A 6J9
> Government of Canada         _|\|   |/|_          Gouvernement du  
> Canada
> Tel: (250)490-4347           >         <              Tel: (250) 
> 490-4347
> Fax: (250)493-7767            >_./|\._<               Fax: (250) 
> 493-7767
> Raymond.Rusk at nrc-cnrc.gc.ca                  Raymond.Rusk at nrc- 
> cnrc.gc.ca



More information about the Casa-framework mailing list