Hi Ken,

> I don't know why you are getting the FooReader warning.  It sounds like
> an object named FooReader is being defined twice in the server manager
> XML, but I don't know where.

That has been very helpful!
Changing FooReader.xml such that

<SourceProxy name="FooReader" ...>

now belongs to

<ProxyGroup name="internal_sources">

and leaving

<FileSeriesReaderProxy name="FooSeriesReader"

in

<ProxyGroup name="sources">

(and subsequently adapting the subproxy definition for FileSeriesReaderProxy to
refer to proxy group "internal_sources" instead of "sources") I got rid of the
warning.

> The calling of RequestInformation is a little tricky to explain.  In
> general, RequestInformation should /not/ be called when the time
> changes.  However, when the time changes, the file series reader changes
> the filename to the internal reader (in this case, the foo reader).  The
> correct behavior for the pipeline is to re-call RequestInformation if
> the the algorithm object gets modified (e.g. an ivar like FileName
> changes).  Thus, if the time changes then the file series reader will
> call RequestInformation on the foo reader from within the RequestData
> pipeline pass.  I would not be surprised if this was the same behavior
> in both the GUI and Python.  It might just be that the progress
> monitoring is slightly different.

Thanks for the explanation. So, I guess it shouldn't harm to add some code to 
prevent re-parsing the same file again in RequestInformation in case 
this->FileName hasn't changed since the last time RequestData has been called.

Thank you very much for your patience and advice!

Karl


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
    • Re: [... Karl König
      • R... Moreland, Kenneth
        • ... Karl König
          • ... Sven Buijssen
            • ... Utkarsh Ayachit
          • ... Moreland, Kenneth
            • ... Karl König
              • ... Moreland, Kenneth
      • [... Maxwell, Thomas P. (GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]
        • ... Utkarsh Ayachit
  • Re: [Parav... Karl König

Reply via email to