Changeset a07e72f in sasview for guiframe/data_manager.py


Ignore:
Timestamp:
Feb 28, 2011 4:07:14 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
243a8d4
Parents:
6bbeacd4
Message:

remove other type of data into sansview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_manager.py

    r0348245 ra07e72f  
    2323from sans.guiframe.dataFitting import Data2D 
    2424   
     25import wx 
     26 
    2527class DataManager(object): 
    2628    """ 
     
    7779        new_plot.interactive = True 
    7880        ## when 2 data have the same id override the 1 st plotted 
    79         new_plot.id = name 
     81        new_plot.id = wx.NewId() 
    8082        ##group_id specify on which panel to plot this data 
    81         new_plot.group_id = name 
     83        new_plot.group_id = [wx.NewId()] 
    8284        new_plot.is_data = True 
    8385        new_plot.path = path 
     
    151153        """ 
    152154        """ 
    153         print "append theory", self.stored_data, data_id 
    154155        if data_id in self.stored_data: 
    155156            data_state = self.stored_data[data_id] 
Note: See TracChangeset for help on using the changeset viewer.