Changeset 2ee5c61 in sasview for fittingview/src/sans/perspectives


Ignore:
Timestamp:
Apr 23, 2012 2:48:40 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:
d6e39a8e
Parents:
6e75ed0
Message:

trying to fix theory data in data tree where it does not know actual theory data for batch

File:
1 edited

Legend:

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

    r6d8bad4 r2ee5c61  
    17881788            if new_plot.group_id == None: 
    17891789                new_plot.group_id = data.group_id 
    1790             new_plot.id =  str(page_id) + "model" 
     1790            new_plot.id =  str(page_id) + "model-" + data.name 
    17911791            #if new_plot.id in self.color_dict: 
    17921792            #    new_plot.custom_color = self.color_dict[new_plot.id]  
     
    18671867        new_plot.name = model.name 
    18681868        new_plot.title = "Analytical model 2D " 
    1869         new_plot.id = str(page_id) + "model" 
     1869        new_plot.id = str(page_id) + "model-" + data.name 
    18701870        new_plot.group_id = str(page_id) + " Model2D" 
    18711871        new_plot.detector = data.detector 
Note: See TracChangeset for help on using the changeset viewer.