Changeset a0f3c29 in sasview


Ignore:
Timestamp:
Feb 7, 2019 5:34:01 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
Children:
44a698c
Parents:
d09f462f
Message:

Patched the issue with reading SVS files after updating the Cansas
reader. SASVIEW-984

Location:
src/sas/sascalc/dataloader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/data_info.py

    r8db20a9 ra0f3c29  
    11881188        final_dataset.yaxis(data._yaxis, data._yunit) 
    11891189        final_dataset.zaxis(data._zaxis, data._zunit) 
    1190         final_dataset.y_bins = data.y_bins 
    1191         final_dataset.x_bins = data.x_bins 
     1190        if hasattr(data, 'y_bins'): 
     1191            final_dataset.y_bins = data.y_bins 
     1192        if hasattr(data, 'y_bins'): 
     1193            final_dataset.x_bins = data.x_bins 
    11921194    else: 
    11931195        return_string = ("Should Never Happen: _combine_data_info_with_plottabl" 
  • src/sas/sascalc/dataloader/readers/cansas_reader.py

    r8db20a9 ra0f3c29  
    493493                self.current_datainfo.errors.add(error) 
    494494            self.data_cleanup() 
    495             self.sort_one_d_data() 
    496             self.sort_two_d_data() 
     495            # Where are these defined?? 
     496            #self.sort_one_d_data() 
     497            #self.sort_two_d_data() 
    497498            self.reset_data_list() 
    498499            return self.output[0], None 
Note: See TracChangeset for help on using the changeset viewer.