Ignore:
Timestamp:
Nov 9, 2016 6:57:23 AM (7 years ago)
Author:
krzywon
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
4ec7089
Parents:
8bd5840
Message:

#795: Start of the conversion of old save states to new.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r8bd5840 r3d8c49a  
    11571157            category_pos = int(state.categorycombobox) 
    11581158        except: 
    1159             import sasmodels.convert as convert 
    11601159            if state.formfactorcombobox is not None: 
    1161                 state.formfactorcombobox, state.parameters = \ 
    1162                     convert.convert_model(state.formfactorcombobox, 
    1163                                           state.parameters) 
    1164             state.formfactorcombobox = state.formfactorcombobox.lower() 
    1165             state.formfactorcombobox = \ 
    1166                 state.formfactorcombobox.replace('model', '') 
    1167             state.formfactorcombobox = unicode(state.formfactorcombobox) 
     1160                state._convert_to_sasmodels() 
    11681161            state.categorycombobox = unicode(state.categorycombobox) 
    11691162            if state.categorycombobox in self.categorybox.Items: 
Note: See TracChangeset for help on using the changeset viewer.