View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

CROSSDRIZ bug?

Itso wrote on Sep 10, 2008

I just encountered a weird bug in the CROSSDRIZ command. Upon executing

crossdriz @input.list refimage @input.list//C &


I get the error that the number of items in the input and output lists are different. Apparently they can't be different since I am using essentially the same list as input and output but maybe the "&" gives that problem.

Is it possible that CROSSDRIZ works in the background?

Itso

Mike Fitzpatrick wrote on Sep 10, 2008

Itso,

Sorry for overlooking your message. I'm not able to reproduce the problem though and can't see an obvious problem. The script itself prints an error such as "Input and output lists have different sizes" but similar messages can some from other tasks the script calls. Can you post the exact error message?

As a workaround, you might try expanding the output list explicitly using the SECTIONS task and pass in the '@output.list' file. The way you're appending the 'C' to each file in the list is correct, running this in the background shouldn't be a problem (other than the need to redirect any output).

Cheers,
-Mike

Last post on Sep 10, 2008