Changeset 2753 for trunk/python
- Timestamp:
- 01/31/13 13:00:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r2752 r2753 46 46 l=f.readline() 47 47 f.close() 48 match_pattern = '^Type = Scantable *$' 49 unmatch_pattern = '^Type = (MeasurementSet|Image|ApplyTable) *$' 50 #if ( l.find('Scantable') != -1 ): 48 match_pattern = '^Type = (Scantable)? *$' 51 49 if re.match(match_pattern,l): 52 return True53 #elif ( l.find('Measurement Set') == -1 and54 # l.find('Image') == -1):55 elif re.match(unmatch_pattern,l):56 50 return True 57 51 else: … … 243 237 # Measurement Set 244 238 opts={'ms': {}} 245 mskeys=['getpt','antenna' ]239 mskeys=['getpt','antenna','freq_tolsr'] 246 240 for key in mskeys: 247 241 if key in args.keys():
Note:
See TracChangeset
for help on using the changeset viewer.