Ignore:
Timestamp:
09/03/09 15:15:48 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready to Release: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix.

asaplog.push( msg ) in the except section is not correct.
I have modified it to asaplog.push( msg.message ).


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/asapfitter.py

    r1614 r1627  
    165165            if len(ps) == 0 or estimate:
    166166                self.fitter.estimate()
    167         try:
    168             fxdpar = list(self.fitter.getfixedparameters())
     167        try:            fxdpar = list(self.fitter.getfixedparameters())
    169168            if len(fxdpar) and fxdpar.count(0) == 0:
    170169                 raise RuntimeError,"No point fitting, if all parameters are fixed."
     
    179178                #print msg
    180179                print_log()
    181                 asaplog.push(msg)
     180                asaplog.push(msg.message)
    182181                print_log('ERROR')
    183182            else:
Note: See TracChangeset for help on using the changeset viewer.