|
Hello,There's a typo in mscred.mscarith.cl which prevents msarith from
running in pyraf.line# 25 in msarith.cl should be changed fromint nop1, nop2, nresults, next1, next2, nexts, ntoint nop1, nop2, nresult, next1, next2, nexts, nThe error in pyraf is: apply(self._clFunction, parList, kw)
File "<CL script mscred.mscarith>", line 90, in mcsarith
taskObj.nresult = iraf.sections.nimages
File "/usr/stsci/pyssgdev/2.4.2/pyraf/iraftask.py", line 1135, in __setattr__
raise AttributeError(str(e))
AttributeError: Unknown parameter requested: nresult
Nadia Dencheva
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Hi Nadia,
I'm sure Frank will fix this however it is technically legal because of the cl parameter abbreviation mechanism, e.g. ecl> int nresults
ecl> nresults = 12345
ecl> =nr
12345This is clearly a typo, other instances however might simply be programmer slack. Anyway, thanks for pointing it out.Cheers,
-Mike
|
Status: offline
Registered: 10/01/2014
Posts: 2
|
Hi,
I found the same problem in the new version of MSCRED. I'm use with IRAF v2.16.
To the fix typo, in mscred.mscarith.cl file, line 25, I change the variable name "nresults" to "nresult".
Rafael
|