Changeset 928
- Timestamp:
- 09/25/08 10:45:32 (2 months ago)
- Files:
-
- trunk/lib/iraffunctions.py (modified) (6 diffs)
- trunk/lib/irafpar.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/iraffunctions.py
r836 r928 189 189 190 190 #stacksize problem on linux 191 191 192 192 if arch == 'redhat' or \ 193 193 arch == 'linux' or \ … … 1493 1493 tfilename = filename 1494 1494 i = tfilename.find('[') 1495 if i>=0: 1495 if i>=0: 1496 1496 tfilename = filename[:i] 1497 1497 if '*' in tfilename or '?' in tfilename: … … 1512 1512 # 2) non specification of extension # for multi-extension fits files 1513 1513 # (imaccess doesn't require) 1514 # This approach, while adaptable, is brittle in its dependency on 1514 # This approach, while adaptable, is brittle in its dependency on 1515 1515 # IRAF error strings 1516 1516 if ((errstr.find('must specify which fits extension') >= 0) or … … 2634 2634 2635 2635 module = irafecl.getTaskModule() 2636 2636 2637 2637 # handle redirection and save keywords 2638 2638 redirKW, closeFHList = redirProcess(kw) … … 2965 2965 return irafecl._ecl_parent_task().DOLLARerrno 2966 2966 2967 errcode = errno 2967 errcode = errno 2968 2968 2969 2969 def errmsg(_save=None): … … 3385 3385 the filehandles for stdin, stdout, stderr and a list of 3386 3386 filehandles to close after execution. 3387 3387 3388 3388 Image and Stdplot redirection not handled (but it isn't clear that these 3389 3389 are ever used anyway) trunk/lib/irafpar.py
r925 r928 1267 1267 """IRAF string parameter class""" 1268 1268 pass 1269 1269 1270 1270 # ----------------------------------------------------- 1271 1271 # IRAF string array parameter class … … 1473 1473 class IrafParCursor(IrafParL): 1474 1474 """Base class for cursor parameters""" 1475 1475 1476 1476 def _coerceOneValue(self,value,strict=0): 1477 1477 if isinstance(value,IrafParCursor): … … 1600 1600 """IRAF boolean parameter class""" 1601 1601 pass 1602 1602 1603 1603 # ----------------------------------------------------- 1604 1604 # IRAF boolean array parameter class 1605 # ----------------------------------------------------- 1606 1605 # ----------------------------------------------------- 1606 1607 1607 class IrafParAB(_BooleanMixin,IrafArrayPar): 1608 1608 … … 1800 1800 """IRAF real array parameter class""" 1801 1801 pass 1802 1802 1803 1803 # ----------------------------------------------------- 1804 1804 # IRAF parameter list synchronized to disk file … … 2412 2412 if len(flist) <= 0: return 2413 2413 2414 # At this point, we have files. Foreach, figure out the task and 2414 # At this point, we have files. Foreach, figure out the task and 2415 2415 # package it is for, and add it's pathname to the dict. 2416 2416 for supfname in flist:
