Changeset f5bdb4a in sasview
- Timestamp:
- Apr 27, 2011 5:19:20 PM (14 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:
- 600eca2
- Parents:
- 3b792e1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_state.py
r5282cc8 rf5bdb4a 526 526 continue 527 527 528 s_1 = self._check_html_format(s_1) 529 file_name = self._check_html_format(self.file) 530 528 531 # make plot image 529 532 self.set_plot_state(extra_high=bool_0[1],extra_low=bool_1[1]) … … 532 535 s_3, s_4, s_5, s_6, s_7, s_8, 533 536 s_9, s_10, s_11, s_12, s_13, s_14, s_15, 534 s_16, s_17, s_18, self.file, "%s") 535 537 s_16, s_17, s_18, file_name, "%s") 538 539 def _check_html_format(self, name): 540 """ 541 Check string '%' for html format 542 """ 543 if name.count('%'): 544 name = name.replace('%', '%') 545 546 return name 547 536 548 def set_saved_state(self, name, value): 537 549 """ -
sansview/perspectives/fitting/pagestate.py
r4bee68d rf5bdb4a 503 503 paramval_string += CENTRE % param + "\n" 504 504 505 text_string = "\n\n\n" + title + "\n\n" + file + \ 506 "\n" + q_name + \ 507 "\n" + chi2 + \ 508 "\n\n" + paramval 509 510 title_name = self._check_html_format(title_name) 511 file_name = self._check_html_format(file_name) 512 title = self._check_html_format(title) 513 505 514 html_string = title_name + "\n" + file_name + \ 506 515 "\n" + q_range + \ … … 511 520 "\n" + FEET_1 % title + \ 512 521 "\n" + FEET_2 513 514 text_string = "\n\n\n" + title + "\n\n" + file + \ 515 "\n" + q_name + \ 516 "\n" + chi2 + \ 517 "\n\n" + paramval 518 522 519 523 return html_string, text_string, title 524 525 def _check_html_format(self, name): 526 """ 527 Check string '%' for html format 528 """ 529 if name.count('%'): 530 name = name.replace('%', '%') 531 532 return name 533 520 534 521 535 def report(self, figs=None, canvases=None):
Note: See TracChangeset
for help on using the changeset viewer.