Changes in / [e1e41de:55bc5a7f] in sasview
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_osx_build.sh
r5dab2bc rb742b8b5 37 37 make html 38 38 39 #SASMODELS - BUILDING AND TESTING 39 40 cd $WORKSPACE 40 41 cd sasmodels -
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
r5e906207 rbbd0f37 162 162 else: 163 163 self.current_dataset.x = data_set.flatten() 164 continue 165 elif key == u'Qdev': 166 self.current_dataset.dx = data_set.flatten() 164 167 continue 165 168 elif key == u'Qy': -
src/sas/sasgui/guiframe/gui_manager.py
rc8e1996 r67b0a99 1950 1950 item, _, _ = value 1951 1951 item.Check(True) 1952 self._data_panel.on_remove(None, False)1953 1952 1954 1953 wx.PostEvent(self, StatusEvent(status="Loading Project file...")) … … 1963 1962 # Reset to a base state 1964 1963 self._on_reset_state() 1964 self._data_panel.on_remove(None, False) 1965 1965 # Load the project file 1966 1966 self.load_state(path=path, is_project=True) … … 2456 2456 group_id=group_id, 2457 2457 action='remove')) 2458 # remove res plot: Todo: improve2459 2458 wx.CallAfter(self._remove_res_plot, new_plot.id) 2460 2459 self._data_manager.delete_data(data_id=data_id, -
src/sas/sasgui/perspectives/fitting/basepage.py
r55db501 r67b0a99 1540 1540 index_data = ((self.qmin_x <= self.data.x) & 1541 1541 (self.data.x <= self.qmax_x)) 1542 val = str(len( self.data.x[index_data is True]))1542 val = str(len([index_data is True])) 1543 1543 self.Npts_fit.SetValue(val) 1544 1544 else: -
src/sas/sasgui/perspectives/fitting/fitpanel.py
rc8e1996 r67b0a99 189 189 # use while-loop, for-loop will not do the job well. 190 190 while (self.GetPageCount() > 0): 191 # delete the first page until no page exists 192 page = self.GetPage(0) 191 page = self.GetPage(self.GetPageCount() - 1) 193 192 if self._manager.parent.panel_on_focus == page: 194 193 self._manager.parent.panel_on_focus = None 195 194 self._close_helper(selected_page=page) 196 self.DeletePage( 0)195 self.DeletePage(self.GetPageCount() - 1) 197 196 # Clear list of names 198 197 self.fit_page_name = {} … … 400 399 temp = self.GetSelection() 401 400 self.DeletePage(temp) 401 if self.sim_page is not None: 402 if len(self.sim_page.model_list) == 0: 403 pos = self.GetPageIndex(self.sim_page) 404 self.SetSelection(pos) 405 self.on_close_page(event=None) 406 temp = self.GetSelection() 407 self.DeletePage(temp) 408 self.sim_page = None 409 self.batch_on = False 402 410 if self.GetPageCount() == 0: 403 411 self._manager.on_add_new_page(event=None)
Note: See TracChangeset
for help on using the changeset viewer.