Welcome to iraf.net Friday, March 29 2024 @ 04:45 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 standard prefix/suffix concatenation returns error IRAF2.16.1 in MAC OS X 10.10.5
   
cew24
 02/01/2016 10:58PM (Read 888 times)  
+----
Newbie

Status: offline


Registered: 02/01/2016
Posts: 3
Recently had to to a new install of IRAF, complete with all external mkpgs. Working away in ccdproc an then more generally ran into an error message an command failure that used to work just fine.

In the current working directory a file created with files command resides:

system> ls testlist
testlist
system>

however, when i attempt a suffiix concatenation an error message occurs:

system> imrename oldnames=@testlist newnames=new//@testlist
ERROR: Cannot open file (testlist@testlist)
system>

or even editing the parameter file:
PACKAGE = imutil
TASK = imrename

oldnames= @testlist images to be renamed
newnames= new//@testlist new image names
(verbose= no) report each rename operation
(mode = ql)


system> imrename
images to be renamed (@testlist):
new image names (new//@testlist):
ERROR: Cannot open file (testlist@testlist)
system>

something is not parsing the command line correctly? (also fails with imarith, etc.) suggestions?

thanks


 
Profile Email
 Quote
fitz
 02/01/2016 11:04PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try using

cl\$this->_split2($m[0]) reset use_new_imt = no

and/or reset this value in the iraf$unix/hlib/zzsetenv.def file. This will bypass the new image template code and use the older code that should handle the concatenation correctly.

 
Profile Email
 Quote
cew24
 02/02/2016 12:07AM  
+----
Newbie

Status: offline


Registered: 02/01/2016
Posts: 3
tx, that seemed to correct the problem

system\$this->_split2($m[0]) cl
system\$this->_split2($m[0]) reset use_new_imt = no
system\$this->_split2($m[0]) imrename @testlist new//@testlist
system\$this->_split2($m[0])

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