Changeset d63ef2f in sasview for sansview/perspectives
- Timestamp:
- Feb 17, 2009 5:33:00 PM (16 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:
- 7ffe36b
- Parents:
- 9e27de9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage1D.py
r8f274b11 rd63ef2f 541 541 else: 542 542 i=0 543 j=0 543 544 #print "fitpage: list param model",list 544 545 #for item in self.param_toFit: 545 # 546 #print "fitpage: list display",item[0].GetLabelText() 546 547 for item in self.param_toFit: 547 548 if( out != None ) and len(out)<=len(self.param_toFit)and i < len(out): 548 549 #item[1].SetValue(format_number(out[i])) 549 550 item[1].SetValue(format_number(self.model.getParam(item[0].GetLabelText()))) 550 item[1].Refresh() 551 if 551 item[1].Refresh() 552 if(cov !=None)and len(cov)<=len(self.param_toFit)and i < len(cov): 552 553 self.text2_3.Show() 553 554 item[2].Show() 554 555 item[3].Clear() 555 item[3].SetValue(format_number(cov[i])) 556 for j in range(len(out)): 557 if out[j]==self.model.getParam(item[0].GetLabelText()):#.SetValue(format_number(self.model.getParam(item[0].GetLabelText()))): 558 #print "jjj", j,item[1],item[1].SetValue(format_number(self.model.getParam(item[0].GetLabelText()))) 559 break 560 item[3].SetValue(format_number(cov[j])) 556 561 item[3].Show() 557 562 i+=1
Note: See TracChangeset
for help on using the changeset viewer.