mailRe: Temperature calibration & relax @ Mac OS X 10.7.3 „Lion“


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

Header


Content

Posted by Martin Ballaschk on April 03, 2012 - 11:50:
Hi Edward,


On 02.04.2012, at 15:56, Edward d'Auvergne wrote:
adding the line:

      self.tee_file = '~/real_gui.log'

to just after the run() method in the relax.py file (at line 148)

Just tried that, but for some reason it won't work.

I inserted the line with the same number of indents as for the rest of the 
commands in the run():

   def run(self):
       """Execute relax.

       This is the application callback method executed by the 
multi-processor framework.
       """
        self.tee_file = '~/real_gui.log'

       # Set up the warning system.
       relax_warnings.setup()

       # Show the version number and exit.
       if self.mode == 'version':
           print(('relax ' + version))
           sys.exit()
...

Correct so far?

There is no log file appearing in my home directory.

Cheers
Martin

-- 
Martin Ballaschk
AG Schmieder
Leibniz-Institut für Molekulare Pharmakologie
Robert-Rössle-Str. 10
13125 Berlin
ballaschk@xxxxxxxxxxxxx
Tel.: +49-30-94793-234/315
Büro: A 1.26
Labor: C 1.10




Related Messages


Powered by MHonArc, Updated Tue Apr 03 13:40:09 2012