Changeset f2776f6 in sasview


Ignore:
Timestamp:
Mar 20, 2009 7:26:13 PM (16 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:
c77d859
Parents:
35eeea8
Message:

remove unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_loader.py

    r35eeea8 rf2776f6  
    7979    from sans.guicomm.events import NewPlotEvent, StatusEvent 
    8080    from DataLoader.loader import  Loader 
    81     ## dictionary of loaded data 
    82     ##{data.name, number of copy} 
    83     data_name_list={} 
    84     ## number of copies of the same loaded data 
    85     data_n= 1 
     81    
    8682    #Instantiate a loader  
    8783    L = Loader() 
     
    139135        ## name of the data allow to differentiate data when plotted 
    140136        name= output.filename 
    141         if output.filename in data_name_list.iterkeys(): 
    142             indice = " copy"+ str(data_n) 
    143              
    144             name += indice 
    145             data_n += 1 
    146             #print "load data",name 
    147         else: 
    148             data_name_list[output.filename]=[] 
    149         data_name_list[output.filename].append(data_n) 
     137         
    150138             
    151139        #print "data_name_list",data_name_list 
Note: See TracChangeset for help on using the changeset viewer.