Changeset f6f9835 in sasview for sansdataloader


Ignore:
Timestamp:
Jun 4, 2012 8:52:14 AM (13 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:
8a9f699
Parents:
a42ea15
Message:

removed the checking qx qy components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansdataloader/src/sans/dataloader/data_info.py

    r0c24e98 rf6f9835  
    911911                msg = "Unable to perform operation: data length are not equal" 
    912912                raise ValueError, msg 
    913             # Here we could also extrapolate between data points 
    914             for i in range(numpy.size(self.data)): 
    915                 if numpy.size(self.data) < 2: 
    916                     msg = "Incompatible data sets: I-values do not match" 
    917                     raise ValueError, msg  
    918                 if self.qx_data[i] != other.qx_data[i]: 
    919                     msg = "Incompatible data sets: qx-values do not match" 
    920                     raise ValueError, msg 
    921                 if self.qy_data[i] != other.qy_data[i]: 
    922                     msg = "Incompatible data sets: qy-values do not match" 
    923                     raise ValueError, msg 
    924913                    
    925914            # Check that the scales match 
Note: See TracChangeset for help on using the changeset viewer.