Welcome to iraf.net Tuesday, May 21 2024 @ 10:26 PM GMT
Gaba_p |
04/13/2009 09:17PM (Read 1777 times)
|
|
|
Status: offline
Registered: 10/10/2008
Posts: 104
|
Hi,I've written a procedure script which uses the 'fields' task. I can't make it stop asking me to confirm the lines to be extracted. This is how the 'fields' parameters are set:fields.mode = 'hl'
fields.files = 'file1'
fields.fields = "1-2"
fields.lines = "1-5"
fields ('file2')Every time I'm required to confirm the "lines" parameter, even though it's already in the parameters.
It's a minor problem, but I'd really like to fix it, so the script won't stop and wait for confirmation.Thanks!Gabriel
|
|
|
|
fitz |
04/13/2009 09:17PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
I think you mean it keeps prompting you for the 'fields' param?? If so, you can make this one parameter hidden by adding the line[code:1:c133d6db72]fields.fields.p_mode="h"[/code:1:c133d6db72]Or else just supply the param when you make the call, e.g.[code:1:c133d6db72]fields ("file2", "1-2") [/code:1:c133d6db72]-Mike
|
|
|
|
Gaba_p |
04/13/2009 09:17PM
|
|
|
Status: offline
Registered: 10/10/2008
Posts: 104
|
Yes, I meant the "fields" param.Thanks Mike!
|
|
|
|
| |
|
Content generated in: 0.09 seconds |
|