Changeset 1615 for branches/alma
- Timestamp:
- 08/06/09 16:05:48 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/scantable.py
r1614 r1615 453 453 454 454 if rcParams['verbose']: 455 import os 455 456 usr=os.environ['USER'] 456 457 tmpfile='/tmp/tmp_'+usr+'_casapy_asap_scantable_stats' … … 546 547 out += "--------------------------------------------------\n" 547 548 if rcParams['verbose']: 548 usr=os.environ['USER'] 549 tmpfile='/tmp/tmp_'+usr+'_casapy_asap_scantable_row_callback' 550 f=open(tmpfile,'w') 551 print >> f, "--------------------------------------------------" 552 print >> f, " %s" % (label) 553 print >> f, "--------------------------------------------------" 554 print >> f, out 555 f.close() 556 f=open(tmpfile,'r') 557 x=f.readlines() 558 f.close() 559 for xx in x: 560 asaplog.push( xx ) 549 asaplog.push("--------------------------------------------------") 550 asaplog.push(" %s" % (label)) 551 asaplog.push("--------------------------------------------------") 552 asaplog.push(out) 561 553 print_log() 562 554 # disabled because the vector seems more useful
Note:
See TracChangeset
for help on using the changeset viewer.