comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 'analyzing code' and # of pro files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
'analyzing code' and # of pro files [message #57194] Thu, 06 December 2007 07:55 Go to next message
R.G.Stockwell is currently offline  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 Go to previous message
wgallery is currently offline  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 Go to previous message
Mike[2] is currently offline  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
Re: 'analyzing code' and # of pro files [message #57372 is a reply to message #57194] Thu, 06 December 2007 10:01 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
R.G. Stockwell wrote:
> Just curious, how many *.pro files does everyone have?

about 6500... including close to 1500 from ITTVIS in my idl63 directory...

Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 7 Conspiracy Theory
Next Topic: fitting after rebinning

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:48:45 PDT 2025

Total time taken to generate the page: 0.00602 seconds