Changeset 9eb8fae in sasview for src/sas/sasgui


Ignore:
Timestamp:
Dec 7, 2016 1:33:52 PM (8 years ago)
Author:
krzywon
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
0633048
Parents:
a321c52
Message:

Empty values for limits should still load in and show the upper and lower limits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/pagestate.py

    ra321c52 r9eb8fae  
    403403            if not value: 
    404404                value = numpy.nan 
    405             if not uncert or uncert[1] == '': 
     405            if not uncert or uncert[1] == '' or uncert[1] == 'None': 
    406406                uncert[0] = False 
    407407                uncert[1] = numpy.nan 
    408             if not upper or upper[1] == '': 
     408            if not upper or upper[1] == '' or upper[1] == 'None': 
    409409                upper[0] = False 
    410410                upper[1] = numpy.nan 
    411             if not lower or lower[1] == '': 
     411            if not lower or lower[1] == '' or lower[1] == 'None': 
    412412                lower[0] = False 
    413413                lower[1] = numpy.nan 
Note: See TracChangeset for help on using the changeset viewer.