mailRe: [task #6847] The Bieri graphical user interface.


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

Header


Content

Posted by Edward d'Auvergne on January 20, 2010 - 09:07:
Hi,

I'm having problems with the statusbar_size_patch file.  Inside this
file, there is a single space in front of the main class " class
main:" but I cannot find any point in the history of the branch where
there was a single space there (I can't look at all revisions as this
takes too long).  This patch is therefore failing.  Do you have any
clean revision of the branch, whereby "svn st" says there are no
changes, where you can apply this patch cleanly?

Cheers,

Edward


2010/1/19 Michael Bieri <NO-REPLY.INVALID-ADDRESS@xxxxxxx>:

Follow-up Comment #20, task #6847 (project relax):

Hi Edward

I collected all the missing patches:

relax_log_window_start_patch:

Opening the relaxGUI Log Window after pushing start-relax button

added:
+from res.project import create_save_file, open_file
+from res.relax_control import start_rx, start_noe

changed:
make_noe() to start_noe()
make_rx() to start_rx()

_________________________________


calc_noe_patch:

Created feedback to relaxGUI Log Window during NOE calculation

added:

class RedirectText --> redirect the relax output to relaxGUI Log Window

# Number of Monte Carlo simulations
global montecarlo
montecarlo = int(global_setting[6])

--> set monte carlo value for updating progress bar in log window


# value for progress bar during monte carlo simulation
global progress
progress = 5.0

--> initial progress value before monte carlo simulation



# redirect relax output and errors to relaxGUI - log panel
redir=RedirectText(self)
sys.stdout=redir
sys.stderr=redir

redirecting system output and error to new created class that updates log
window

_________________________________


calc_rx_patch:

Created feedback to relaxGUI Log Window during Rx calculation

added:

class RedirectText --> redirect the relax output to relaxGUI Log Window

# Number of Monte Carlo simulations
global montecarlo
montecarlo = int(global_setting[6])

--> set monte carlo value for updating progress bar in log window


# value for progress bar during monte carlo simulation
global progress
progress = 5.0

--> initial progress value before monte carlo simulation



# redirect relax output and errors to relaxGUI - log panel
redir=RedirectText(self)
sys.stdout=redir
sys.stderr=redir

redirecting system output and error to new created class that updates log
window

-------------------------------------------------

removed_tab_in_modelfree_patch:

replaced tabulators to 4 space characters in calc_model_free.py


----------------------------------------------------

mkdir_patch:

replaced os.sytem('mkdir ' + ....) to os.mkdir()


--------------------------------------------------


statusbar_size_patch:

increased the size of the 3. cell of the status bar. Now 'repository
checkout' is fully displaid


-------------------------------------------------

import_patch:

replaced form xxxx import * with from xxx import yyy, aaa....  in
relax_gui.py


------------------------ ------------------------

application_patch:

about relaxGUI panel does not create own wx application

removed:

about.py:
-    app = wx.PySimpleApp(0)
-    wx.InitAllImageHandlers()
-    start = MyFrame(None, -1, "")
-    app.SetTopWindow(start)
-    start.Show()
-    app.MainLoop()


changed:
xw.Frame to wx.Dialog in about.py

moved:
in __init__.py (main folder)

+    # start wx Application
+    relaxGUI = wx.PySimpleApp(0)
+    wx.InitAllImageHandlers()

 -->  to start one wx application for about panel and main relaxGUI window

-----------------------------------


The patches are in the compressed file below.

Cheers
Michael



(file #7726)
   _______________________________________________________

Additional Item Attachment:

File name: 100120_patches.zip             Size:20 KB


   _______________________________________________________

Reply to this item at:

 <http://gna.org/task/?6847>

_______________________________________________
 Nachricht geschickt von/durch Gna!
 http://gna.org/


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel




Related Messages


Powered by MHonArc, Updated Wed Jan 20 09:20:20 2010