Changeset e0e873b in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Apr 8, 2010 6:52:27 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:
f71c2de
Parents:
c81140c
Message:

working hiding and show error

File:
1 edited

Legend:

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

    r286bb6c re0e873b  
    290290        data.copy_from_datainfo(item) 
    291291        item.clone_without_data(clone=data)     
    292         data.dy = dy 
     292        data.dy = deepcopy(dy) 
    293293        data.name = item.name 
    294294        ## allow to highlight data when plotted 
     
    586586            if data.name in  self.err_dy.iterkeys(): 
    587587                dy = self.err_dy[data.name]    
    588                 
    589         if data.dy is None or data.dy == []: 
    590             dy = numpy.zeros(len(data.y)) 
    591         #print "dy ====", dy  
    592588        if data.__class__.__name__ == "Theory1D": 
    593589            new_data = self.copy_data(data, dy) 
Note: See TracChangeset for help on using the changeset viewer.