Changeset 0c0d458 in sasview for calculatorview/perspectives


Ignore:
Timestamp:
May 3, 2010 4:44:44 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:
2eb3a682
Parents:
051e22f
Message:

working on data editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/data_editor.py

    r051e22f r0c0d458  
    478478        data, data_name, position = self.get_current_data() 
    479479        for i in range(self.data_run_tcl.GetNumberOfLines()): 
    480             run.append(self.data_run_tcl.GetLineText(i).lstrip().rstrip()) 
    481         #Change data's name 
    482         #run = self.data_run_tcl.GetValue().lstrip().rstrip() 
    483         
     480            text = self.data_run_tcl.GetLineText(i).lstrip().rstrip() 
     481            if text != "": 
     482                run.append(text) 
    484483        if data.run != run: 
    485484            self._notes += "Change data 's " 
Note: See TracChangeset for help on using the changeset viewer.