Ignore:
Timestamp:
Mar 17, 2016 10:54:22 AM (9 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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:
fc18690, b080ba8
Parents:
aac161f1
Message:

updated references to old paths.

Location:
src/sas/sasgui/perspectives/invariant
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/invariant/invariant.py

    rd85c194 rc10d9d6c  
    237237        else: 
    238238            msg = "invariant.save_file: the data being saved is" 
    239             msg += " not a sas.dataloader.data_info.Data1D object" 
     239            msg += " not a sas.sascalc.dataloader.data_info.Data1D object" 
    240240            raise RuntimeError, msg 
    241241 
  • src/sas/sasgui/perspectives/invariant/invariant_state.py

    rd85c194 rc10d9d6c  
    773773        """ 
    774774        if datainfo is None: 
    775             datainfo = sas.dataloader.data_info.Data1D(x=[], y=[]) 
    776         elif not issubclass(datainfo.__class__, sas.dataloader.data_info.Data1D): 
     775            datainfo = sas.sascalc.dataloader.data_info.Data1D(x=[], y=[]) 
     776        elif not issubclass(datainfo.__class__, sas.sascalc.dataloader.data_info.Data1D): 
    777777            msg = "The cansas writer expects a Data1D" 
    778778            msg += " instance: %s" % str(datainfo.__class__.__name__) 
Note: See TracChangeset for help on using the changeset viewer.