Changeset 27b7acc in sasview for src/sans/perspectives/fitting/basepage.py
- Timestamp:
- Apr 3, 2014 7:28:51 PM (11 years ago)
- 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:
- bbd97e5
- Parents:
- 34dbaf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/perspectives/fitting/basepage.py
r34dbaf4 r27b7acc 10 10 import math 11 11 import string 12 import cPickle as pickle 13 #import shutil 12 import json 14 13 from collections import defaultdict 15 14 from wx.lib.scrolledpanel import ScrolledPanel … … 3585 3584 if not os.path.isfile(categorization_file): 3586 3585 categorization_file = CategoryInstaller.get_default_file() 3587 cat_file = open(categorization_file, 'rb') 3588 3589 self.master_category_dict = pickle.load(cat_file) 3586 cat_file = open(categorization_file, 'rb') 3587 self.master_category_dict = json.load(cat_file) 3590 3588 self._regenerate_model_dict() 3591 3589 cat_file.close()
Note: See TracChangeset
for help on using the changeset viewer.