Changeset 9a22655 in sasview for sansview/perspectives/fitting
- Timestamp:
- Mar 25, 2011 6:34:08 PM (14 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:
- e52865f
- Parents:
- 46bf3b1
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r0806def r9a22655 997 997 call back for model selection 998 998 """ 999 if self.plugin_rbutton.GetValue(): 1000 self._show_combox_helper() 1001 print "went here" 1002 999 1003 self._on_select_model_helper() 1000 1004 self.set_model_param_sizer(self.model) -
sansview/perspectives/fitting/models.py
rb2d9826 r9a22655 43 43 #Check is the plugin is of type Model1DPlugin 44 44 if not issubclass(model, Model1DPlugin): 45 msg = "Plugin %s must be of type Model1DPlugin \n"%str(name)45 msg = "Plugin %s must be of type Model1DPlugin \n"%str(name) 46 46 log(msg) 47 47 return None … … 82 82 try: 83 83 list = os.listdir(dir) 84 #always recompile the folder plugin 85 import compileall 86 compileall.compile_dir(dir, force=1) 84 87 for item in list: 85 88 toks = os.path.splitext(os.path.basename(item))
Note: See TracChangeset
for help on using the changeset viewer.