MantisBT - ParaView
View Issue Details
0004408ParaView(No Category)public2007-02-05 17:132007-04-03 17:50
Ken Moreland 
Clinton Stimpson 
highminoralways
closedfixed 
 
 
0004408: Numbered extensions not registered for Exodus
It is common for exodus files to have only a number for an extension (e.g. mysim.0000). In ParaView, any file ending with .0, .00, .000, or .0000 were registered as an exodus file.

In ParaView 3, we have so far lost this feature. Numbered files bring up a dialog box for you to select the appropriate reader. Change it so that a file with a numbered extension automatically uses the Exodus reader.

There may be other readers with similar extensions (spcth?). If that is the case, hopefully the CanRead mechanism can resolve the correct reader.
No tags attached.
Issue History
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0006908)
Clinton Stimpson   
2007-03-22 14:34   
/cvsroot/ParaView3/ParaView3/Qt/Components/Resources/XML/ParaViewReaders.xml,v <-- ParaViewReaders.xml
new revision: 1.9; previous revision: 1.8
(0007065)
Ken Moreland   
2007-04-02 16:33   
The file now automatically uses the exodus when selected, but the filters in the file browser does not include this situation. Thus, to select the file you have to go to the "All Files" filter before finding the file.
(0007066)
Clinton Stimpson   
2007-04-02 16:36   
Works for me.
Can you remove your builddir/Qt/Components/pqExtraResources.qrc.
rerun cmake and build?
(0007077)
Ken Moreland   
2007-04-02 18:16   
I just did a clean rebuild and am still seeing the problem. I noticed that it works well if there is a single file that ends in a number (for example, changing disk_out_ref.ex2 to disk_out_ref.0). However, I get problems if I have multiple files (which is far more likely in practice).

For example, the squash.e.4.[0-3] show up in the browser just fine, but if I rename them to squash.[0-3] or to squash.e.[0-3], they fail to show up in the pipeline browser (under the default filter).
(0007082)
Clinton Stimpson   
2007-04-02 19:22   

Ahh.. it was a combination of file grouping and filtering on extensions.

/cvsroot/ParaView3/ParaView3/Qt/Core/pqFileDialogFilter.cxx,v <-- pqFileDialogFilter.cxx
new revision: 1.2; previous revision: 1.1