Changeset 30339cc in sasview for src/sas/qtgui


Ignore:
Timestamp:
Aug 21, 2018 5:55:59 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
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:
e11106e
Parents:
0d8b2db
Message:

fix error column creation in magnet model

File:
1 edited

Legend:

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

    recfe6b6 r30339cc  
    16501650        Take func and throw it inside the magnet model row loop 
    16511651        """ 
    1652         for row_i in range(self._model_model.rowCount()): 
     1652        for row_i in range(self._magnet_model.rowCount()): 
    16531653            func(row_i) 
    16541654 
     
    16621662        if self._magnet_model.rowCount() == 0: 
    16631663            return 
    1664  
    1665         def iterateOverMagnetModel(func): 
    1666             """ 
    1667             Take func and throw it inside the magnet model row loop 
    1668             """ 
    1669             for row_i in range(self._magnet_model.rowCount()): 
    1670                 func(row_i) 
    16711664 
    16721665        def updateFittedValues(row): 
Note: See TracChangeset for help on using the changeset viewer.