Changeset 126 for trunk


Ignore:
Timestamp:
12/10/04 17:48:19 (20 years ago)
Author:
mar637
Message:

fixed bug in _verbose. Test length first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r124 r126  
    4545        should be printed as well as returned.
    4646        """
    47         if type(args[0]) is bool:
     47        if len(args) == 0:
     48            return self._vb
     49        elif type(args[0]) is bool:
    4850            self._vb = args[0]
    4951            return
    50         elif len(args) == 0:
    51             return self._vb
    5252
    5353
     
    373373        Parameters:
    374374            what:     a choice of 'spectrum' (default) or 'tsys'
    375             col:      which out of Beams/IFs/Pols should be colour stacked
     375            col:      which out of Beams, IFs, Pols (default)
     376                      should be colour stacked
    376377            panel:    set up multiple panels, currently not working.
    377378        """
Note: See TracChangeset for help on using the changeset viewer.