mailr10228 - /branches/bieri_gui/gui_bieri/relax_gui.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 15, 2010 - 10:51:
Author: bugman
Date: Fri Jan 15 10:51:59 2010
New Revision: 10228

URL: http://svn.gna.org/viewcvs/relax?rev=10228&view=rev
Log:
Expanded the print out when exiting to include references and shifted to 
using question().

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).

The print out will need a bit of formatting, and it would be better if the 
question() box is
eventually removed as asking the user if they would like to quit after the 
user asked the program
to quit is annoying.


Modified:
    branches/bieri_gui/gui_bieri/relax_gui.py

Modified: branches/bieri_gui/gui_bieri/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/relax_gui.py?rev=10228&r1=10227&r2=10228&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/relax_gui.py (original)
+++ branches/bieri_gui/gui_bieri/relax_gui.py Fri Jan 15 10:51:59 2010
@@ -1991,9 +1991,17 @@
      event.Skip()
 
     def exitGUI(self, event): # Exit
-        doexit = ynbox(msg='Do you wand to quit relaxGUI?', 
title='relaxGUI', choices=('Yes', 'No'), image=None)
+        doexit = question('Do you wand to quit relaxGUI?')
         if doexit == True:
-           print "\n\n\nExiting relaxGUI......\n\n\n"
+           print"\n==================================================\n\n"
+           print "\nThank you for citing:"
+           print ""
+           print "relaxGUI:\nin progress...."
+           print ""
+           print "relax:"
+           print "d'Auvergne, E.J. and Gooley, P.R. (2008). Optimisation of 
NMR dynamic models I. Minimisation algorithms and their performance within 
the model-free and Brownian rotational diffusion spaces. J. Biomol. NMR, 
40(2), 107-119."
+           print "d'Auvergne, E.J. and Gooley, P.R. (2008). Optimisation of 
NMR dynamic models II. A new methodology for the dual optimisation of the 
model-free parameters and the Brownian rotational diffusion tensor. J. 
Biomol. NMR, 40(2), 121-133." 
+           print "\nExiting relaxGUI......\n"
            sys.exit(0)
         event.Skip()
 




Related Messages


Powered by MHonArc, Updated Fri Jan 15 11:00:02 2010