- Timestamp:
- 02/11/05 17:51:33 (20 years ago)
- Location:
- trunk/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapreader.py
r411 r415 17 17 print scans # summarises the contents 18 18 del r # destroys the reader 19 20 IMPORTANT: Due to limitations in the rpfits library, only one reader 21 can be created at a time. 22 r = reader('XYZ.rpf') 23 r2 = reader('ABC.rpf') 24 is NOT possible. This is a limitation affecting 25 rpfits ONLY. 19 26 """ 20 27 … … 79 86 tbl = scantable(sdreader._getdata(self)) 80 87 sdreader._reset(self) 81 print tbl.summary(name=name)88 tbl.summary(name) 82 89 return 83 90 ## def reset(self): -
trunk/python/scantable.py
r413 r415 167 167 if filename is "": 168 168 filename = 'scantable_summary.txt' 169 from os.path import expandvars, is file169 from os.path import expandvars, isdir 170 170 filename = expandvars(filename) 171 if isfile(filename):171 if not isdir(filename): 172 172 data = open(filename, 'w') 173 173 data.write(info)
Note:
See TracChangeset
for help on using the changeset viewer.