pyNastran
pyNastran copied to clipboard
Clean up explicit format loading
The title of the gui should be:
- Nastran - filename
- AFLR2 / AFLR3 ugrid (2D) - filename
- AFLR3 ugrid (3D) - filename
- AFLR2 BEdge - filename
while the format is:
- nastran
- ugrid
- ugrid3d
- bedge
respectively.
This requires another argument to the get_*_wildcard_geometry_results_functions
, which is the description.
data = (
'AFLR2 BEdge',
'AFLR2 BEdge (*.bedge)', self.load_bedge_geometry,
None, None)
becomes:
data = (
'bedge', 'AFLR2 BEdge',
'AFLR2 BEdge (*.bedge)', self.load_bedge_geometry,
None, None)