Changeset 8b31780 in sasview for sansview/perspectives
- Timestamp:
- Apr 23, 2009 9:55:22 AM (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:
- 3b69ca6
- Parents:
- d2e8e5d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r280a14b r8b31780 250 250 dxl=None 251 251 dxw=None 252 dx=None 252 253 if hasattr(item, "dxl"): 253 254 dxl = copy.deepcopy(item.dxl) … … 262 263 if hasattr(item,"id"): 263 264 id = copy.deepcopy(item.id) 265 if hasattr(item, "dx"): 266 dx= item.dx 264 267 265 268 from sans.guiframe import dataFitting 266 data= dataFitting.Data1D(x=item.x, y=item.y, dy=dy, dxl=dxl, dxw=dxw)269 data= dataFitting.Data1D(x=item.x, y=item.y,dx=dx, dy=dy, dxl=dxl, dxw=dxw) 267 270 268 271 data.name = item.name
Note: See TracChangeset
for help on using the changeset viewer.