Changeset 1614 for branches/alma/python/asapplotter.py
- Timestamp:
- 08/06/09 15:48:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/asapplotter.py
r1612 r1614 1 1 from asap import rcParams, print_log, selector 2 from taskinit import *2 from asap import asaplog 3 3 import matplotlib.axes 4 4 import re … … 76 76 if rcParams['verbose']: 77 77 #print msg 78 casalog.post( msg, 'WARN' ) 78 asaplog.push( msg ) 79 print_log( 'ERROR' ) 79 80 return 80 81 raise TypeError(msg) … … 172 173 if rcParams['verbose']: 173 174 #print msg 174 casalog.post( msg, 'WARN' ) 175 asaplog.push( msg ) 176 print_log( 'ERROR' ) 175 177 return 176 178 else: … … 526 528 if rcParams['verbose']: 527 529 #print msg 528 casalog.post( msg, 'WARN' ) 530 asaplog.push( msg ) 531 print_log( 'ERROR' ) 529 532 return 530 533 else: … … 617 620 "Selecting first %d selections..." % (maxn, maxn) 618 621 asaplog.push(msg) 619 print_log( )622 print_log('WARN') 620 623 n = min(n,maxpanel) 621 624 nstack = min(nstack,maxstack) … … 893 896 if rcParams['verbose']: 894 897 #print msg 895 casalog.post( msg, 'WARN' ) 898 asaplog.push( msg ) 899 print_log( 'ERROR' ) 896 900 return 897 901 raise TypeError(msg)
Note: See TracChangeset
for help on using the changeset viewer.