Changeset 5536035 in sasview


Ignore:
Timestamp:
May 24, 2010 5:26:03 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f83b94a
Parents:
9c38ed4
Message:

working on save option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    r4d5fa8c r5536035  
    99""" 
    1010import  re 
    11 import sys, wx, logging 
    12 import string, numpy, math 
     11import sys 
     12import wx 
     13import logging 
     14import numpy 
     15import math 
     16import string 
    1317import time 
    1418import thread 
    1519from copy import deepcopy 
    1620 
    17 from danse.common.plottools.PlotPanel import PlotPanel 
     21from DataLoader import Loader 
    1822 
    1923from sans.guiframe.dataFitting import Data2D 
    2024from sans.guiframe.dataFitting import Data1D 
    2125from sans.guiframe.dataFitting import Theory1D 
    22  
    23 from sans.guiframe.utils import format_number 
    2426 
    2527from sans.guicomm.events import NewPlotEvent, StatusEvent   
     
    807809                return 
    808810               
    809             for page, value in self.page_finder.iteritems(): 
    810                 """ 
    811                 if format_number(result.fitness) == page.get_chi2(): 
    812                     #ToDo: Compare parameter inputs with outputs too. 
    813                     wx.PostEvent(self.parent, StatusEvent(status="%s " % msg))  
    814                     break      
    815                 """               
     811            for page, value in self.page_finder.iteritems():    
    816812                if value.get_scheduled()==1: 
    817813                    model = value.get_model() 
Note: See TracChangeset for help on using the changeset viewer.