Changeset 8d57bdb in sasview for fittingview


Ignore:
Timestamp:
Sep 12, 2011 8:13:07 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:
6367ec5
Parents:
656d65d
Message:

removed multiprocessing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fit_thread.py

    r33dd2e5 r8d57bdb  
    7373                list_fit_function.append('fit') 
    7474                list_map_get_attr.append(map_getattr) 
    75             from multiprocessing import Pool 
     75            #from multiprocessing import Pool 
    7676            inputs = zip(list_map_get_attr,self.fitter, list_fit_function, 
    77                          list_handler, list_q, list_curr_thread, list_ftol) 
    78             result =  Pool(1).map(func=map_apply,  
    79                                iterable=inputs) 
     77                         list_handler, list_q, list_curr_thread,list_ftol) 
     78            result =  map(map_apply, inputs) 
    8079            self.complete(result=result, 
    8180                          batch_inputs=self.batch_inputs, 
Note: See TracChangeset for help on using the changeset viewer.