Changeset 7a7bf55 in sasview


Ignore:
Timestamp:
Nov 21, 2008 4:53:03 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
b06ef8c
Parents:
a644dc4
Message:

small change to check if dy is different from none

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_loader.py

    ra644dc4 r7a7bf55  
    9494            #print "data_loader",output 
    9595        else: 
    96             print "output.dx, output.dy",output.dx, output.dy,len(output.dy) 
    97             if len(output.dy) ==0 : 
     96            print "output.dx, output.dy",output.dx, output.dy 
     97            if output.dy ==None: 
    9898                print "went here theory1D" 
    9999                new_plot = Theory1D(output.x,output.y, dxl, dxw) 
     
    127127                dxl=None 
    128128                dxw=None 
    129             if not hasattr(item,"dy"): 
     129            if item.dy ==None: 
    130130                new_plot = Theory1D(item.x,item.y,dxl,dxw) 
    131131            else: 
Note: See TracChangeset for help on using the changeset viewer.