Changeset 9dc1500 in sasview


Ignore:
Timestamp:
Sep 10, 2018 4:25:38 PM (8 days ago)
Author:
krzywon
Branches:
ticket-1111
Children:
8d5e11c
Parents:
c2525bf
Message:

Take value directly instead of slice to avoid value errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py

    rc2525bf r9dc1500  
    156156            elif isinstance(value, h5py.Dataset): 
    157157                # If this is a dataset, store the data appropriately 
    158                 data_set = data[key][:] 
     158                data_set = value.value 
    159159                unit = self._get_unit(value) 
    160160 
Note: See TracChangeset for help on using the changeset viewer.