Skip to content

Somehow mesh.fnMesh becomes overwritten by mesh.mesh #17

Description

@alexblaessle

After readjusting the mesh volSize via Simulation->Mesh->Mesh Settings, we get the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_app.py", line 1756, in generateMesh
    self.editMesh()
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_app.py", line 1742, in editMesh
    ret=pyfrp_gui_mesh_dialogs.meshSettingsDialog(currEmbryo.simulation.mesh,self).exec_()
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_gui_mesh_dialogs.py", line 72, in __init__
    self.updateFnMeshLbl()
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_gui_mesh_dialogs.py", line 127, in updateFnMeshLbl
    self.lblFnMeshVal.setText("..."+self.mesh.fnMesh[-self.nCharDisplayed:])	
TypeError: 'GmshImporter3D' object has no attribute '__getitem__'

which clearly points that mesh.fnMesh now contains what should be in mesh.mesh. This either happens in pyfrp_mesh class itself or in settings dialog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions