I'm using the split function to get the file's name and extension. I think I may have a workaround for this in the short term.
=================================== Adriano Gagliardi MEng PhD Project Scientist Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: 04 December 2009 16:35 To: agaglia...@ara.co.uk Cc: ParaView Subject: Re: [Paraview] Plugin behaviour in pvpython Who's doing the stripping? Is it the vtkFooReader? In that case, there's nothing in pvpython that will prevent the vtkFooReader class from changing the filename internally. Utkarsh On Thu, Dec 3, 2009 at 1:38 PM, Adriano Gagliardi <agaglia...@ara.co.uk> wrote: > > I created a reader filter that takes the filename you point it to, > strips the fileroot out and then loads data from files with different extensions. > It works fine in interactive mode, but under pvpython it appears to > not be doing the fileroot stripping stage. Once you set a filename in > a python script, is the filter barred from changing it internally? > > =================================== > > Adriano Gagliardi MEng PhD > Project Scientist > Computational Aerodynamics > Aircraft Research Association Ltd. > Manton Lane > Bedford > > Tel: 01234 32 4644 > E-mail: agaglia...@ara.co.uk > Url: www.ara.co.uk > > > --------------------------- > This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. > Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. > Aircraft Research Association Ltd. Registered in England, > Registration No 503668 Registered Office: Manton Lane, Bedford MK41 > 7PF England VAT No GB 196351245 > > > _______________________________________________ > 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 > --------------------------- This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 _______________________________________________ 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