Ignore:
Timestamp:
Oct 19, 2017 12:40:53 PM (7 years ago)
Author:
celinedurniak <celine.durniak@…>
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:
fca1f50
Parents:
0c468bf
Message:

Corrected problem with update of loaded files in Data Operation Panel (ESS-GUI-SasView245)

File:
1 edited

Legend:

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

    rf0bb711 r1420066  
    295295                    del self.stored_data[id] 
    296296 
     297    def update_stored_data(self, name_list=None): 
     298        """ update stored data after deleting files in Data Explorer """ 
     299        for selected_name in name_list: 
     300            for idx in self.stored_data.keys(): 
     301                if str(selected_name) in str(idx): 
     302                    print selected_name, idx 
     303                    del self.stored_data[idx] 
     304 
    297305    def get_data_state(self, data_id): 
    298306        """ 
Note: See TracChangeset for help on using the changeset viewer.