Changeset 132f3d6 in sasview
- Timestamp:
- Apr 9, 2017 4:13:27 AM (8 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, 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:
- 6ad9c1a
- Parents:
- 1bcc48d (diff), 8eb9043 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/setup_exe.py
r8b645cc r8eb9043 179 179 test_1d_dir = os.path.join(path, "test\\1d_data") 180 180 test_2d_dir = os.path.join(path, "test\\2d_data") 181 test_sesans_dir = os.path.join(path, "test\\sesans_data") 182 test_convertible_dir = os.path.join(path, "test\\convertible_data") 181 183 test_save_dir = os.path.join(path, "test\\save_states") 182 test_upcoming_dir = os.path.join(path, "test\\upcoming_formats") 184 test_coord_dir = os.path.join(path, "test\\coordinate_data") 185 test_image_dir = os.path.join(path, "test\\image_data") 186 test_other_dir = os.path.join(path, "test\\other_files") 183 187 184 188 matplotlibdatadir = matplotlib.get_data_path() … … 269 273 # Copying the images directory to the distribution directory. 270 274 for f in findall(images_dir): 271 if not ".svn" in f: 272 data_files.append(("images", [f])) 275 data_files.append(("images", [f])) 273 276 274 277 # Copying the HTML help docs 275 278 for f in findall(media_dir): 276 if not ".svn" in f: 277 data_files.append(("media", [f])) 279 data_files.append(("media", [f])) 278 280 279 281 # Copying the sample data user data 280 282 for f in findall(test_1d_dir): 281 if not ".svn" in f: 282 data_files.append(("test\\1d_data", [f])) 283 284 # Copying the sample data user data 283 data_files.append(("test\\1d_data", [f])) 285 284 for f in findall(test_2d_dir): 286 if not ".svn" in f: 287 data_files.append(("test\\2d_data", [f])) 288 289 # Copying the sample data user data 285 data_files.append(("test\\2d_data", [f])) 290 286 for f in findall(test_save_dir): 291 if not ".svn" in f: 292 data_files.append(("test\\save_states", [f])) 293 294 # Copying the sample data user data 295 for f in findall(test_upcoming_dir): 296 if not ".svn" in f: 297 data_files.append(("test\\upcoming_formats", [f])) 287 data_files.append(("test\\save_states", [f])) 288 for f in findall(test_sesans_dir): 289 data_files.append(("test\\sesans_data", [f])) 290 for f in findall(test_convertible_dir): 291 data_files.append(("test\\convertible_files", [f])) 292 for f in findall(test_coord_dir): 293 data_files.append(("test\\coordinate_data", [f])) 294 for f in findall(test_image_dir): 295 data_files.append(("test\\image_data", [f])) 296 for f in findall(test_other_dir): 297 data_files.append(("test\\other_files", [f])) 298 298 299 299 # Copying opencl include files -
src/sas/sasgui/perspectives/fitting/fitpage.py
rd85f1d8a r1bcc48d 1239 1239 mod_cat = self.categorybox.GetStringSelection() 1240 1240 if mod_cat == custom_model: 1241 ################This is where the model dies############### 1242 temp_id = self.model.id 1241 1243 temp = self.parent.update_model_list() 1244 for v in self.parent.model_dictionary.values(): 1245 if v.id == temp_id: 1246 self.model = v() 1242 1247 if temp: 1243 1248 self.model_list_box = temp -
src/sas/sasgui/perspectives/fitting/models.py
r11b094f r1bcc48d 321 321 if len(new_plugins) > 0: 322 322 for name, plug in new_plugins.iteritems(): 323 if name not in self.stored_plugins.keys(): 324 self.stored_plugins[name] = plug 325 self.plugins.append(plug) 326 self.model_dictionary[name] = plug 323 self.stored_plugins[name] = plug 324 self.plugins.append(plug) 325 self.model_dictionary[name] = plug 327 326 self.model_combobox.set_list("Plugin Models", self.plugins) 328 327 return self.model_combobox.get_list()
Note: See TracChangeset
for help on using the changeset viewer.