Changeset 0a7c2f8 in sasview
- Timestamp:
- Apr 8, 2010 2:12:05 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:
- edcbd467
- Parents:
- dce0756
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant.py
r518d35d r0a7c2f8 9 9 """ 10 10 import wx 11 from copy import deepcopy 11 12 from sans.invariant import invariant 12 13 … … 152 153 id = None 153 154 if hasattr(item,"id"): 154 id = copy.deepcopy(item.id)155 id = deepcopy(item.id) 155 156 156 157 data = Data1D(x=item.x, y=item.y, dx=None, dy=None) … … 160 161 data.name = item.name 161 162 ## allow to highlight data when plotted 162 data.interactive = copy.deepcopy(item.interactive)163 data.interactive = deepcopy(item.interactive) 163 164 ## when 2 data have the same id override the 1 st plotted 164 165 data.id = id
Note: See TracChangeset
for help on using the changeset viewer.