Ignore:
Timestamp:
Sep 28, 2012 11:56:33 AM (12 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:
ef67145
Parents:
b4c1815
Message:

more fix in grid/output display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/data_processor.py

    rb4c1815 r4550a5a  
    863863        for key in inputs.keys(): 
    864864            key_list = inputs[key] 
    865             if len(key_list) > 0: 
     865            if len(key_list) == len(inds): 
    866866                temp_key = [item for item in key_list] 
    867867                for ind in inds: 
    868                     try: 
    869                         temp_key[ind] = key_list[inds[ind]] 
    870                     except: 
    871                         pass 
     868                    temp_key[ind] = key_list[inds[ind]] 
    872869                inputs[key] = temp_key 
     870            else: 
     871                inputs[key] = [] 
     872                #print "Different length in %s: Removed from Listing."% key 
     873                 
    873874        return inputs, outputs 
    874875     
Note: See TracChangeset for help on using the changeset viewer.