Changeset 1612 for branches/alma/python/asapplotter.py
- Timestamp:
- 08/05/09 17:48:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/asapplotter.py
r1562 r1612 1 1 from asap import rcParams, print_log, selector 2 from taskinit import * 2 3 import matplotlib.axes 3 4 import re … … 74 75 msg = "Input is not a scantable" 75 76 if rcParams['verbose']: 76 print msg 77 #print msg 78 casalog.post( msg, 'WARN' ) 77 79 return 78 80 raise TypeError(msg) … … 169 171 not self.set_stacking(stacking): 170 172 if rcParams['verbose']: 171 print msg 173 #print msg 174 casalog.post( msg, 'WARN' ) 172 175 return 173 176 else: … … 522 525 msg = "Can only set mask after a first call to plot()" 523 526 if rcParams['verbose']: 524 print msg 527 #print msg 528 casalog.post( msg, 'WARN' ) 525 529 return 526 530 else: … … 888 892 msg = "Input is not a scantable" 889 893 if rcParams['verbose']: 890 print msg 894 #print msg 895 casalog.post( msg, 'WARN' ) 891 896 return 892 897 raise TypeError(msg)
Note: See TracChangeset
for help on using the changeset viewer.