Ticket #47 (new defect)

Opened 2 years ago

Last modified 6 months ago

imexamine/imcur issue

Reported by: perry Assigned to: somebody
Priority: normal Milestone: Might Never Be Worked
Component: none Version: 1.2
Severity: normal Keywords:
Cc:

Description

 This demonstrates it:

  Make a file called tmpcur that has 1 line in it:

512.0   512.0

  Then execute the following command, after unlearning imexamine

imexamine input=dev$pix image=dev$pix imagecur=tmpcur

  This behaves differently under PyRAF compared to the cl.

  Robert J.

Change History

03/06/08 09:18:49 changed by sontag

  • milestone set to Might Never Be Worked.

It looks as though this is not a PyRAF bug. The imexamine task seems to have 3 required parameters (input, image, frame), and PyRAF prompts for frame if it is not given, whereas (interestingly) the CL is treating frame as optional.

See the file /usr/stsci/iraf/pkg/images/tv/imexamine.par as an example of the default imexamine par file which specifies frame as a query parameter.

Since PyRAF prompts for the frame parameter, and the cl does not, this is definitely a difference in behavior. However, it appears that PyRAF is doing the right thing. In addition, this issue is easy to work around.

This ticket is not scheduled to be worked immediately, but will be kept to document the behavior.