Menu

Commit [r10264]  Maximize  Restore  History

Created feedback to relaxGUI Log Window during NOE calculation.

This corresponds to the calc_noe_patch file attached to https://gna.org/task/?6847 by
Michael Bieri (https://gna.org/users/michaelbieri), in the zip file
https://gna.org/support/download.php?file_id=7726.

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

bugman 2010-01-20

changed /branches/bieri_gui/gui_bieri/res/calc_noe.py
/branches/bieri_gui/gui_bieri/res/calc_noe.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.