Changeset 654e8e0 in sasview for src/sas/sasgui/perspectives/fitting


Ignore:
Timestamp:
Sep 1, 2016 2:36:07 PM (8 years ago)
Author:
krzywon
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:
7b2d6fb
Parents:
a3f1c11e
git-author:
Jeff Krzywon <krzywon@…> (09/01/16 14:36:07)
git-committer:
Jeff KRzywon <krzywon@…> (09/01/16 14:36:07)
Message:

Resolves #644 and #642: Improved loading performance for cansas XML data. Loading invariants and fits from save states no longer throw errors or open multiple windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/pagestate.py

    r7673ecd r654e8e0  
    15691569                    if output[ind].run_name is not None\ 
    15701570                        and len(output[ind].run_name) != 0: 
    1571                         name = output[ind].run_name 
     1571                        if isinstance(output[ind].run_name, dict): 
     1572                            name = output[ind].run_name.keys()[0] 
     1573                        else: 
     1574                            name = output[ind].run_name 
    15721575                    else: 
    15731576                        name = original_fname 
Note: See TracChangeset for help on using the changeset viewer.