NRAO Home > CASA > CASA Toolkit Reference Manual
componentlist.close - Function

1.2.1 Save the componentlist to disk and reset its state.


Description

The close function resets the componentlist to its default state. In this state it contains no components and is not associated with any table.

This function flushes all the components in memory to disk if the componentlist is associated with a table. The table is then closed, and the contents of the list deleted.

If the list is not associated with a table its contents are still deleted and memory used by the list is released.

Arguments





Inputs

log

Send a message to the logger

allowed:

bool

Default:

true

Returns
bool

Example

 
    See the example for the  
    rename function.  

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search