Changeset d4ba565 in sasview


Ignore:
Timestamp:
Sep 8, 2018 7:41:47 AM (6 years ago)
Author:
Laura Forster <Awork@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
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.