Changeset 1ec979d in sasview for fittingview/src/sans


Ignore:
Timestamp:
Oct 14, 2011 3:49:22 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
466dae7
Parents:
c27a111
Message:

gave sleep0.5 for error msg and send nan_to_num for nan to plottools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitting.py

    r71e5c11 r1ec979d  
    14651465        """  
    14661466        try: 
     1467            numpy.nan_to_num(y) 
     1468             
    14671469            new_plot = Data1D(x=x, y=y) 
    14681470            new_plot.is_data = False 
     
    15511553        that can be plot. 
    15521554        """ 
     1555        numpy.nan_to_num(image) 
    15531556        new_plot= Data2D(image=image, err_image=data.err_data) 
    15541557        new_plot.name = model.name 
Note: See TracChangeset for help on using the changeset viewer.