Changeset 091c702 in sasview
- Timestamp:
- Feb 21, 2012 4:11:27 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:
- 8247523
- Parents:
- 9ea4577e
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/report_dialog.py
r3dac5e2 r091c702 185 185 #Note:The str for pic_fname shouldn't be removed. 186 186 if self.nimages == 1: 187 html = report_frame % str( os.path.basename(pic_fname[0]))187 html = report_frame % str(pic_fname[0]) 188 188 elif self.nimages == 2: 189 html = report_frame % (str(os.path.basename(pic_fname[0])), 190 str(os.path.basename(pic_fname[1]))) 189 html = report_frame % (str(pic_fname[0]), str(pic_fname[1])) 191 190 elif self.nimages == 3: 192 html = report_frame % (str(os.path.basename(pic_fname[0])), 193 str(os.path.basename(pic_fname[1])), 194 str(os.path.basename(pic_fname[2]))) 191 html = report_frame % (str(pic_fname[0]), str(pic_fname[1]), 192 str(pic_fname[2])) 195 193 196 194 # make/open file in case of absence -
invariantview/src/sans/perspectives/invariant/report_dialog.py
r664c5a7 r091c702 160 160 161 161 # put the image file path in the html data 162 html = self.report_list[0] % str( os.path.basename(pic_fname))162 html = self.report_list[0] % str(pic_fname) 163 163 164 164 # make/open file in case of absence
Note: See TracChangeset
for help on using the changeset viewer.