Re: Contour: difference between IDL 8.0 and IDL 8.4 [message #94199 is a reply to message #94198] |
Mon, 20 February 2017 03:41   |
Markus Schmassmann
Messages: 129 Registered: April 2016
|
Senior Member |
|
|
On 02/20/2017 11:30 AM, burkina wrote:
> thank you very much! At least now I have a workaround, and can
> recover the 'old' results with IDL 8.4, still taking advantages of all the other
> updates (of course not those for contour...). By the way, I put the two
> old class definition files in my working directory, since I couldn't
> find a way to re-compile them from my own procedure (.compile does not
> work inside procedures, and resolve_routine does not accept absolute
> paths): is there a better way?
I don't know whether there is a way without a separate directory, but it
needn't be in your working directory. You can use:
if !PATH.contains('/path/to/files') then begin
pathSplit=strsplit(!PATH,':',/extract)
wp=where(pathSplit eq '/path/to/files',/null,complement=wpc)
!PATH=strjoin(pathSplit[[wp,wpc]],':')
endif else !PATH='/path/to/files:'+!PATH
to make sure the files in '/path/to/files' are selected first.
I hope that helps, Markus
|
|
|