Changeset 14cd91b1 in sasview


Ignore:
Timestamp:
Mar 11, 2011 12:16:37 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
e88ebfd
Parents:
a3149c5
Message:

update set_data in invariant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant.py

    rc85c180 r14cd91b1  
    144144        self.compute_helper(data=data) 
    145145                 
    146     def set_data(self, data_list): 
     146    def set_data(self, data_list=None, theory_list=None): 
    147147        """ 
    148148        receive a list of data and compute invariant 
    149149        """ 
    150150        data = None 
     151        if data_list is None: 
     152            data_list = [] 
    151153        if len(data_list) > 1: 
    152154            msg = "invariant panel does not allow multiple data!\n" 
Note: See TracChangeset for help on using the changeset viewer.