Changeset 483c4cf in sasview for sansguiframe/src/sans/guiframe


Ignore:
Timestamp:
Jun 14, 2012 10:48:03 AM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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:
a9e1739
Parents:
dd2ab70
Message:

try to fix tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/dataFitting.py

    r05d3ebe r483c4cf  
    392392            result.dqx_data = numpy.zeros(len(self.data)) 
    393393            result.dqy_data = numpy.zeros(len(self.data)) 
     394         
     395        result.qx_data = self.qx_data 
     396        result.qy_data = self.qy_data 
     397        result.q_data = self.q_data 
     398        result.mask = self.mask 
    394399        for i in range(numpy.size(self.data)): 
    395400            result.data[i] = self.data[i] 
     
    401406            if self.dqy_data is not None: 
    402407                result.dqy_data[i] = self.dqy_data[i] 
    403             result.qx_data[i] = self.qx_data[i] 
    404             result.qy_data[i] = self.qy_data[i] 
    405             result.q_data[i] = self.q_data[i] 
    406             result.mask[i] = self.mask[i] 
    407408             
    408409            a = Uncertainty(self.data[i], dy[i]**2) 
Note: See TracChangeset for help on using the changeset viewer.