MantisBT - ParaView
View Issue Details
0007276ParaView(No Category)public2008-07-02 21:372009-05-13 13:59
Alan Scott 
Utkarsh Ayachit 
highmajoralways
closedfixed 
 
3.43.4 
0007276: gen files with .g extension are read as BYU files
.g files are being read as BYU files, not GEN files. Which is correct? Behavior is now different than 3.2.1.

This needs to be fixed, or accepted as is, for 3.4.
No tags attached.
Issue History
2008-07-02 21:37Alan ScottNew Issue
2008-07-03 10:44Ken MorelandNote Added: 0012606
2008-07-03 14:49Berk GeveciStatusbacklog => tabled
2008-07-03 14:49Berk GeveciAssigned To => Berk Geveci
2008-07-09 10:49Utkarsh AyachitAssigned ToBerk Geveci => Utkarsh Ayachit
2008-07-15 12:13Utkarsh AyachitStatustabled => @80@
2008-07-15 12:13Utkarsh AyachitResolutionopen => fixed
2008-07-15 12:13Utkarsh AyachitNote Added: 0012709
2008-07-16 22:44Alan ScottStatus@80@ => closed
2008-07-16 22:44Alan ScottNote Added: 0012731
2009-05-13 13:58Utkarsh AyachitTarget Version => 3.4
2009-05-13 13:59Utkarsh AyachitFixed in Version => 3.4
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0012606)
Ken Moreland   
2008-07-03 10:44   
Both are correct. ParaView should be using the CanReadFile methods to resolve which reader to use when to readers use the same extension.
(0012709)
Utkarsh Ayachit   
2008-07-15 12:13   
BYUReader does not have CanReadFile so it says it can read all *.g files. Changed the order of readers so that ExodusReader gets priority over the BYUReader for .g files. Since ExodusReader supports CanReadFile, it fails for BYU files and then the BYUReader reads them correctly.

I haven't been able to test this (I don't have a GEN file).

/cvsroot/ParaView3/ParaView3/Qt/Components/Resources/XML/ParaViewReaders.xml,v
<-- Qt/Components/Resources/XML/ParaViewReaders.xml
new revision: 1.24; previous revision: 1.23
(0012731)
Alan Scott   
2008-07-16 22:44   
Tested with a .g and .gen file. Works great. Tested client/server.