Changeset 028a0e8 in sasview for sansview


Ignore:
Timestamp:
Aug 8, 2010 3:05:44 PM (14 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:
4da35bc
Parents:
b35d3d1
Message:

fixed minor bug on saving

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/pagestate.py

    rb35d3d1 r028a0e8  
    11951195        else:   
    11961196            #make sure title and data run is filled up. 
    1197             #if state.data.title == None or state.data.title=='': state.data.title = state.data.name 
    1198             #if state.data.run_name == None or state.data.run_name=={}:  
    1199             #    state.data.run = [str(state.data.name)] 
    1200             #    state.data.run_name[0] = state.data.name 
     1197            if state.data.title == None or state.data.title=='': state.data.title = state.data.name 
     1198            if state.data.run_name == None or state.data.run_name=={}:  
     1199                state.data.run = [str(state.data.name)] 
     1200                state.data.run_name[0] = state.data.name 
    12011201    
    12021202            if issubclass(state.data.__class__, DataLoader.data_info.Data1D): 
     1203 
    12031204                data = state.data 
    12041205                doc, sasentry = self._to_xml_doc(data) 
Note: See TracChangeset for help on using the changeset viewer.