Changeset ea5551f in sasview for prview


Ignore:
Timestamp:
Jul 28, 2008 10:26:37 AM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
8bd8ea4
Parents:
0bae207
Message:

Fixed problem with silent failure when loading file with Q=0 points.

Location:
prview
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • prview/perspectives/pr/pr.py

    r0bae207 rea5551f  
    340340            by our standard DataLoader class. 
    341341        """ 
    342          
     342        #TODO: use DataLoader 
    343343        class FileData: 
    344344            x = None 
     
    351351                 
    352352        self._current_file_data = FileData(path) 
    353         print "load", path 
    354353        basename = os.path.basename(path) 
    355354        root, ext = os.path.splitext(basename) 
     
    678677         
    679678        if path is not None: 
    680             pr = self._create_file_pr(path) 
    681             self.pr = pr   
     679            try: 
     680                pr = self._create_file_pr(path) 
     681                self.pr = pr 
     682            except:   
     683                wx.PostEvent(self.parent, StatusEvent(status=sys.exc_value)) 
     684                return 
    682685               
    683686        # Make a plot of I(q) data 
  • prview/perspectives/pr/requirements.txt

    rfeb21d8 rea5551f  
    1 1. Thread 
     11. Thread [done] 
    222. Find good defaults. Automate the inversion. 
    33   -How do we estimate d_max? Guinier fit? 
     
    303026. Remove an added curve... 
    313127. Add multiple additional data curves. 
     3228. Use Data Loader. 
  • prview/release_notes.txt

    r0bae207 rea5551f  
    1010        - Added functionality for .ABS IGOR reduced 1D files. 
    1111        - Fixed problem with loading additional data after the P(r) graph's scale has been changed. 
     12        - Fixed problem of silent failure upon loading a file with a point at Q=0. 
    1213 
    1314   Version 0.2.2 
Note: See TracChangeset for help on using the changeset viewer.