Ignore:
Timestamp:
Oct 31, 2018 10:27:23 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
17e2d502
Parents:
48df831
Message:

Finalize backward compatibility mode for project read for simple fitting

File:
1 edited

Legend:

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

    r186d678 r4396300  
    402402 
    403403            # Convert fitpage properties and update the dict 
    404             all_data = GuiUtils.convertFromSVS(datasets) 
     404            try: 
     405                all_data = GuiUtils.convertFromSVS(datasets) 
     406            except Exception as ex: 
     407                # disregard malformed SVS and try to recover regardless 
     408                msg = "Error while reading the project file: "+str(ex) 
     409                logging.error(msg) 
     410                pass 
    405411        else: 
    406412            with open(filename, 'r') as infile: 
Note: See TracChangeset for help on using the changeset viewer.