Changeset 7c720e9 in sasview


Ignore:
Timestamp:
Jun 4, 2012 2:34:57 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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:
225ed2d
Parents:
dbb3914
Message:

fixing pylint warnings

Files:
3 edited

Legend:

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

    r6572274 r7c720e9  
    185185        self.bt_edit_source.SetToolTipString("Edit data's sample.") 
    186186        self.bt_edit_source.Bind(wx.EVT_BUTTON, self.edit_source) 
    187         self.source_sizer.AddMany([(source_txt, 0, wx.ALL, 10), 
    188                                 (self.bt_edit_source, 0, 
    189                                   wx.RIGHT|wx.BOTTOM|wx.TOP, 10)]) 
     187        #self.source_sizer.AddMany([(source_txt, 0, wx.ALL, 10), 
     188        #                        (self.bt_edit_source, 0, 
     189        #                          wx.RIGHT|wx.BOTTOM|wx.TOP, 10)]) 
    190190 
    191191    def _layout_summary(self): 
     
    198198        summary = 'No data info available...' 
    199199        self.data_summary.SetValue(summary) 
    200         self.summary_sizer.Add(self.data_summary, 1, wx.EXPAND|wx.ALL, 10)   
     200        #self.summary_sizer.Add(self.data_summary, 1, wx.EXPAND|wx.ALL, 10)   
    201201                     
    202202    def _layout_button(self):   
  • fittingview/src/sans/perspectives/fitting/pagestate.py

    r38226d26 r7c720e9  
    16151615             
    16161616        if state is not None: 
    1617             state.toXML(doc=doc, file=data.name, entry_node=sasentry) 
     1617            state.toXML(doc=doc, file=data.filename, entry_node=sasentry) 
    16181618             
    16191619        return doc 
  • fittingview/src/sans/perspectives/fitting/simfitpage.py

    r940aca7 r7c720e9  
    706706        self.sizer2.Clear(True) 
    707707        if self.batch_on: 
    708             self.sizer2.Hide() 
     708            if self.sizer2.IsShown(): 
     709                self.sizer2.Hide() 
    709710            return 
    710711        box_description= wx.StaticBox(self, -1, "Fit Constraints") 
Note: See TracChangeset for help on using the changeset viewer.