Changeset ddb0fe76 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Jun 22, 2011 5:19:38 PM (13 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:
3ddc2c4
Parents:
8c6a0b9
Message:

check uid before del on stop_fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    r7e05460 rddb0fe76  
    476476                msg = "Fit stop!" 
    477477                wx.PostEvent(self.parent, StatusEvent(status=msg, type="stop")) 
    478             del self.fit_thread_list[uid] 
     478            if uid in self.fit_thread_list.keys(): 
     479                print "uid", uid 
     480                del self.fit_thread_list[uid] 
    479481        #set the fit button label of page when fit stop is trigger from 
    480482        #simultaneous fit pane 
Note: See TracChangeset for help on using the changeset viewer.