Changeset 7c720e9 in sasview for fittingview/src/sans


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

Location:
fittingview/src/sans/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.