Changeset 7ae2b7f in sasmodels for sasmodels/compare.py
- Timestamp:
- Apr 11, 2016 12:48:41 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- fa5fd8d
- Parents:
- f619de7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r6d6508e r7ae2b7f 34 34 import traceback 35 35 36 import numpy as np 36 import numpy as np # type: ignore 37 37 38 38 from . import core … … 710 710 try: 711 711 model_info = core.load_model_info(name) 712 except ImportError ,exc:712 except ImportError as exc: 713 713 print(str(exc)) 714 714 print("Could not find model; use one of:\n " + models) … … 860 860 Explore the model using the Bumps GUI. 861 861 """ 862 import wx 863 from bumps.names import FitProblem 864 from bumps.gui.app_frame import AppFrame 862 import wx # type: ignore 863 from bumps.names import FitProblem # type: ignore 864 from bumps.gui.app_frame import AppFrame # type: ignore 865 865 866 866 problem = FitProblem(Explore(opts)) … … 883 883 """ 884 884 def __init__(self, opts): 885 from bumps.cli import config_matplotlib 885 from bumps.cli import config_matplotlib # type: ignore 886 886 from . import bumps_model 887 887 config_matplotlib()
Note: See TracChangeset
for help on using the changeset viewer.