Changeset 091c702 in sasview for fittingview/src/sans/perspectives


Ignore:
Timestamp:
Feb 21, 2012 4:11:27 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:
8247523
Parents:
9ea4577e
Message:

fixed a pic problem with pdf

File:
1 edited

Legend:

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

    r3dac5e2 r091c702  
    185185            #Note:The str for pic_fname shouldn't be removed. 
    186186            if self.nimages == 1: 
    187                 html = report_frame % str(os.path.basename(pic_fname[0])) 
     187                html = report_frame % str(pic_fname[0]) 
    188188            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])) 
    191190            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])) 
    195193 
    196194            # make/open file in case of absence 
Note: See TracChangeset for help on using the changeset viewer.