Changeset 4d1eff2 in sasview


Ignore:
Timestamp:
Aug 29, 2017 5:33:19 AM (7 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:
8222f171
Parents:
e43fc91
Message:

Fixed misbehaving calculator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/GenericScatteringCalculator.py

    r464cd07 r4d1eff2  
    5555        self.is_avg = False 
    5656        self.data_to_plot = None 
     57        self.graph_num = 1  # index for name of graph 
    5758 
    5859        # combox box 
     
    100101 
    101102        # plots - 3D in real space 
    102         plot3d = self.plot3d(has_arrow=False) 
    103         self.trigger_plot_3d.connect(plot3d) 
    104         #self.trigger_plot_3d.connect(lambda: self.plot3d(has_arrow=False)) 
    105  
    106         self.graph_num = 1  # index for name of graph 
     103        self.trigger_plot_3d.connect(lambda: self.plot3d(has_arrow=False)) 
    107104 
    108105        # TODO the option Ellipsoid has not been implemented 
     
    693690        Plot 3D self._data 
    694691        """ 
     692        if not data: 
     693            return 
    695694        self.data = data 
    696         assert(self._data) 
     695        #assert(self._data) 
    697696        # Prepare and show the plot 
    698697        self.showPlot(data=self.data, has_arrow=has_arrow) 
Note: See TracChangeset for help on using the changeset viewer.