Author: bugman Date: Fri Jan 15 11:17:23 2010 New Revision: 10233 URL: http://svn.gna.org/viewcvs/relax?rev=10233&view=rev Log: Shifted from using msgbox() to relax_run_ok() to indication proper completion of the calculation. This corresponds to one component of the patch_II file attached to https://gna.org/task/?6847 by Michael Bieri (https://gna.org/users/michaelbieri). Modified: branches/bieri_gui/gui_bieri/res/calc_noe.py branches/bieri_gui/gui_bieri/res/calc_rx.py Modified: branches/bieri_gui/gui_bieri/res/calc_noe.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/res/calc_noe.py?rev=10233&r1=10232&r2=10233&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/res/calc_noe.py (original) +++ branches/bieri_gui/gui_bieri/res/calc_noe.py Fri Jan 15 11:17:23 2010 @@ -131,12 +131,8 @@ if freqno == 3: self.m_noe_3.SetValue(target_dir + sep + 'noe.' + str(nmr_freq) + '.out') self.list_noe.Append(target_dir + sep + 'grace' + sep + 'noe.' + str(nmr_freq) + '.agr') - success = True # Create PyMol Macro color_code_noe(self, target_dir) - msgbox(msg='NOE calculation was successfull !', title='relaxGUI ', ok_button='OK', image=sys.path[-1]+sep+'gui_bieri'+sep+'res'+sep+'pics'+sep+'relax.gif', root=None) - - - + relax_run_ok('NOE calculation was successful !') Modified: branches/bieri_gui/gui_bieri/res/calc_rx.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/res/calc_rx.py?rev=10233&r1=10232&r2=10233&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/res/calc_rx.py (original) +++ branches/bieri_gui/gui_bieri/res/calc_rx.py Fri Jan 15 11:17:23 2010 @@ -164,8 +164,6 @@ print "calculation finished" print "" - msgbox(msg='T' + str(r1_r2) +' calculation was successfull !', title='relaxGUI ', ok_button='OK', image=sys.path[-1]+sep+'gui_bieri'+sep+'res'+sep+'pics'+sep+'relax.gif', root=None) - # list files to results self.list_rx.Append(target_dir + sep + 'grace' + sep + 'rx.' + str(nmr_freq) + '.agr') self.list_rx.Append(target_dir + sep + 'grace' + sep + 'intensities_norm.' + str(nmr_freq) + '.agr') @@ -185,3 +183,6 @@ self.m_r2_2.SetValue(target_dir + sep + 'r2.' + str(nmr_freq) + '.out') if freqno == 3: self.m_r2_3.SetValue(target_dir + sep + 'r2.' + str(nmr_freq) + '.out') + + # Feedback + relax_run_ok('T' + str(r1_r2) +' calculation was successful !')