Ignore:
Timestamp:
Oct 20, 2017 5:44:12 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
16afe01
Parents:
f331852
Message:

Minor changes to logging and looping in DataOperation? calculator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/DataManager.py

    • Property mode changed from 100755 to 100644
    r1420066 r7d9c83c  
    298298        """ update stored data after deleting files in Data Explorer """ 
    299299        for selected_name in name_list: 
    300             for idx in self.stored_data.keys(): 
     300            # Take the copy of current, possibly shorter stored_data dict 
     301            stored_data = copy.deepcopy(self.stored_data) 
     302            for idx in stored_data.keys(): 
    301303                if str(selected_name) in str(idx): 
    302                     print selected_name, idx 
    303304                    del self.stored_data[idx] 
    304305 
Note: See TracChangeset for help on using the changeset viewer.