'analyzing code' and # of pro files [message #57194] |
Thu, 06 December 2007 07:55  |
R.G.Stockwell
Messages: 163 Registered: October 2004
|
Senior Member |
|
|
Just curious, how many *.pro files does everyone have?
This may be one thing that IDL hadn't properly gauged when
they implemented the 'analyzing code' routines.
I did a quick search, and find 2959 files in my library. This
includes several 'other author' libraries.
When I start IDL7, it takes 3.5 minutes to analyze code,
and frankly I can't tell if those libraries are in my project.
The only thing my project shows is 'untitled'.
|
|
|
Re: 'analyzing code' and # of pro files [message #57363 is a reply to message #57194] |
Thu, 06 December 2007 12:01  |
wgallery
Messages: 32 Registered: December 1998
|
Member |
|
|
On Dec 6, 12:20 pm, David Fanning <da...@dfanning.com> wrote:
> Don't worry, this is normal on UNIX systems. In my experience
> debugging other people's code, it is likely you have 15 versions
> of the Coyote directory in your path. And God knows how many
> versions of the Astro library, which is older yet. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
FYI:
The idl-pvwave mode in emacs has a neat feature:
under IDLWAVE->Routine Info->Routine Shadows, click on 'Check
Everything'.
Emacs will then create a list of all duplicate instances of all
routines even if the routine is imbedded in a file of another name.
e.g. the routine cmcongrid is listed as appearing in three files as
shown below.
CMCONGRID()
- MyLib [L---] ~/Application Data/idl/markwardt/cmcongrid.pro
- MyLib [L---] ~/Application Data/idl/fanning/tvimage.pro
- MyLib [L---] ~/Application Data/idl/fanning/tvscale.pro
This feature could be useful if a library routine is not behaving as
expected: you may not be using the version you think you are.
(Note: I think you have to have cataloged your directories with
idlwave_catalog for this to work)
|
|
|
Re: 'analyzing code' and # of pro files [message #57366 is a reply to message #57194] |
Thu, 06 December 2007 10:38  |
Mike[2]
Messages: 99 Registered: December 2005
|
Member |
|
|
On Dec 6, 10:55 am, "R.G. Stockwell" <noem...@please.com> wrote:
> Just curious, how many *.pro files does everyone have?
1619 in our collection of standard libraries, which includes coyote's,
mpfit, textoidl, and a couple of astronomy collections, plus our
locally developed medical image libs.
A couple thousand more that make up various applications.
Mike
|
|
|
|