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