Changeset 4550a5a in sasview for sansguiframe/src/sans/guiframe
- Timestamp:
- Sep 28, 2012 9:56:33 AM (12 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_processor.py
rb4c1815 r4550a5a 863 863 for key in inputs.keys(): 864 864 key_list = inputs[key] 865 if len(key_list) > 0:865 if len(key_list) == len(inds): 866 866 temp_key = [item for item in key_list] 867 867 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]] 872 869 inputs[key] = temp_key 870 else: 871 inputs[key] = [] 872 #print "Different length in %s: Removed from Listing."% key 873 873 874 return inputs, outputs 874 875
Note: See TracChangeset
for help on using the changeset viewer.