Changeset e0e873b in sasview for sansview/perspectives/fitting
- Timestamp:
- Apr 8, 2010 6:52:27 PM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r286bb6c re0e873b 290 290 data.copy_from_datainfo(item) 291 291 item.clone_without_data(clone=data) 292 data.dy = d y292 data.dy = deepcopy(dy) 293 293 data.name = item.name 294 294 ## allow to highlight data when plotted … … 586 586 if data.name in self.err_dy.iterkeys(): 587 587 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 ====", dy592 588 if data.__class__.__name__ == "Theory1D": 593 589 new_data = self.copy_data(data, dy)
Note: See TracChangeset
for help on using the changeset viewer.