Changeset cd84dca in sasview for guiframe/data_loader.py


Ignore:
Timestamp:
Dec 16, 2008 2:27:50 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
dc317d1
Parents:
e8c96f5
Message:

change on xml loading title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_loader.py

    re8c96f5 rcd84dca  
    7979        return 
    8080    filename = os.path.basename(path) 
     81     
    8182    if not  output.__class__.__name__=="list": 
    8283        try: 
     
    103104         
    104105        new_plot.source=output.source 
    105         new_plot.name = filename 
     106        new_plot.name = output.filename 
    106107        new_plot.interactive = True 
    107108        new_plot.info= output 
     
    121122        i=1 
    122123        for item in output: 
     124             
    123125            try: 
    124126                dxl=item.dxl 
     
    134136            new_plot.source=item.source 
    135137            new_plot.info=output 
    136             new_plot.name = filename+" "+ str(i) 
     138            new_plot.name = str(item.run[0]) 
    137139            new_plot.interactive = True 
    138140             
Note: See TracChangeset for help on using the changeset viewer.