Welcome to iraf.net Friday, April 26 2024 @ 10:43 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 mscred.mscarith problem report
   
Anonymous: Guest
 03/01/2006 09:20PM (Read 4637 times)  



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

 
 Quote
fitz
 03/01/2006 09:20PM  
AAAAA
Admin

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

 
Profile Email
 Quote
Anonymous:
 03/01/2006 09:20PM  



Yes this was a typo mistake which has been fixed as suggested for future releases.Frank

 
 Quote
rrbernardi
 07/08/2016 08:51PM  
+----
Newbie

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

 
Profile Email
 Quote
fitz
 07/09/2016 03:07AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Somehow the old bug crept back in, sorry 'bout that. I've rebuilt the distribution files with the fix so any new installations should be fine.

 
Profile Email
 Quote
   
Content generated in: 0.18 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login