Method: AimsProject::GeometryEditor#evaluate
- Defined in:
- lib/aims_project/geometry_editor.rb
#evaluate ⇒ Object
Apply the edits to the geometry_file and evaluate
62 63 64 65 66 67 68 69 70 |
# File 'lib/aims_project/geometry_editor.rb', line 62 def evaluate @unit_cell.raw_input = @text_ctrl.get_text begin @unit_cell.evaluate rescue # @button_pane.add_item(@clear_errors_button, 3) @text_ctrl.set_text($!. + $!.backtrace.join("\n")) end end |