Ignore:
Timestamp:
Apr 5, 2018 8:32:38 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
ded5e77, 01ef3f7
Parents:
bb57068
Message:

Fixed naming of datasets for both theory and file data

File:
1 edited

Legend:

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

    • Property mode changed from 100755 to 100644
    rb3e8629 rd6e38661  
    126126 
    127127        new_plot.group_id = data.group_id 
    128         new_plot.id = str(tab_id) + " " + data.name 
    129         new_plot.name = model.name + " [" + data.name + "]" 
     128        new_plot.id = str(tab_id) + " " + model.id 
     129 
     130        if data.filename: 
     131            new_plot.name = model.name + " [" + data.filename + "]" # data file 
     132        else: 
     133            new_plot.name = model.name + " [" + model.id + "]"  # theory 
     134 
    130135        new_plot.title = new_plot.name 
    131136        new_plot.xaxis(_xaxis, _xunit) 
Note: See TracChangeset for help on using the changeset viewer.