Changeset d4ba565 in sasview


Ignore:
Timestamp:
Sep 8, 2018 9:41:47 AM (10 days ago)
Author:
Laura Forster <Awork@…>
Branches:
ESS_GUI, ESS_GUI_Pr_fixes, ESS_GUI_iss1052, ESS_GUI_poly_plot2
Children:
5e0891b
Parents:
99ce461
Message:

Copy Excel/Latex? option crashing

the param_list dictionary has since had the model name added at the beginning and so couldn't format the copy, now being passed all but the first entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r0cd98a1 rd4ba565  
    31603160            formatted_output = FittingUtilities.formatParameters(param_list) 
    31613161        elif format == "Excel": 
    3162             formatted_output = FittingUtilities.formatParametersExcel(param_list) 
     3162            formatted_output = FittingUtilities.formatParametersExcel(param_list[1:]) 
    31633163        elif format == "Latex": 
    3164             formatted_output = FittingUtilities.formatParametersLatex(param_list) 
     3164            formatted_output = FittingUtilities.formatParametersLatex(param_list[1:]) 
    31653165        else: 
    31663166            raise AttributeError("Bad format specifier.") 
Note: See TracChangeset for help on using the changeset viewer.