Welcome to iraf.net Thursday, May 09 2024 @ 11:15 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Fwd: xdimsum.makemask: duplicate keyword argument
   
valdes
 11/14/2005 07:40PM (Read 2999 times)  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
[b:3ea45658ab]From: [/b:3ea45658ab]Sergio Gelato <Sergio.Gelato@astro.su.se ([email]sergio.gelato@astro.su.se[/email])>
[b:3ea45658ab]Date: [/b:3ea45658ab]November 5, 2005 5:02:37 AM MST
[b:3ea45658ab]To: [/b:3ea45658ab]Frank Valdes <valdes@noao.edu ([email]valdes@noao.edu[/email])>
[b:3ea45658ab]Subject: [/b:3ea45658ab][b:3ea45658ab]Re: xdimsum.makemask: duplicate keyword argument[/b:3ea45658ab]
Frank Valdes wrote:
[quote:3ea45658ab]Hello Sergio,
Yes the duplicate use of zloreject at line 198 is an error.  How it  affects PyRAF and if that is the actual source of the error you would  have to ask the developers of PyRAF (at help@stsci.edu ([email]help@stsci.edu[/email])).  XDIMSUM was  not developed with regards to working under PyRAF and there are some  tasks which do not work with that command interpreter.
I will fix the duplicate definition you identified and if you make  the change and it fixes the problem you are having I would appreciate  an email.
[/quote:3ea45658ab]I have made the change, and it did fix the problem.
[quote:3ea45658ab]Yours,
Frank Valdes
On Nov 2, 2005, at 7:51 AM, Sergio Gelato wrote:
[quote:3ea45658ab]A local user pointed out the following error which manifests itself  when
running "epar makemask" under PyRAF:
SyntaxError: duplicate keyword argument (<CL script  xdimsum.makemask>, line 176)
The error message is from Python, which explains why the problem isn't
seen under the classic cl.
The closest instance of a duplicate keyword I could find is at line  198
of makemask.cl (we are running xdimsum 020806) where "zloreject=INDEF"
appears twice.
I guess that the second instance was meant to be "zhireject=INDEF";
can anyone confirm and/or point us to a better version of xdimsum?
[/quote:3ea45658ab] [/quote:3ea45658ab]

 
Profile Email
 Quote
   
Content generated in: 0.06 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