Changeset 92a2ecd in sasview for src/sans/dataloader


Ignore:
Timestamp:
May 8, 2014 12:55:23 PM (11 years ago)
Author:
Jeff Krzywon <jeffery.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:
6b20c4e
Parents:
17c62b6
Message:

Save and load project files seems fixed now. I haven't tested individual analysis windows yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/dataloader/readers/cansas_reader.py

    rac5b69d r92a2ecd  
    372372                tagname = node.tag.replace(base_ns, "") 
    373373                tagname_original = tagname 
    374                 if tagname == "fitting_plug_in": 
     374                if tagname == "fitting_plug_in" or tagname == "pr_inversion" or\ 
     375                    tagname == "invariant": 
    375376                    continue 
    376377                names.append(tagname) 
     
    517518                else: 
    518519                    save_data1d = data1d 
    519                 if tagname_original != "fitting_plug_in": 
     520                if tagname_original == "fitting_plug_in" or \ 
     521                    tagname_original == "invariant" or \ 
     522                    tagname_original == "pr_inversion": 
     523                    pass 
     524                else: 
    520525                    data1d = save_data1d 
    521526                    # Remove tagname from names to restore original base 
Note: See TracChangeset for help on using the changeset viewer.