Changeset 8d57bdb in sasview for fittingview/src/sans
- Timestamp:
- Sep 12, 2011 10:13:07 PM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fit_thread.py
r33dd2e5 r8d57bdb 73 73 list_fit_function.append('fit') 74 74 list_map_get_attr.append(map_getattr) 75 from multiprocessing import Pool75 #from multiprocessing import Pool 76 76 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) 80 79 self.complete(result=result, 81 80 batch_inputs=self.batch_inputs,
Note: See TracChangeset
for help on using the changeset viewer.