Changeset 995f4eb in sasview for src/sas/sascalc/dataloader


Ignore:
Timestamp:
Aug 19, 2016 6:08:16 AM (8 years ago)
Author:
lewis
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
346d56e
Parents:
9f4d891
Message:

Ensure CanSAS 2.0 files are closed after reading

File:
1 edited

Legend:

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

    rac370c5 r995f4eb  
    7676                ## Add the last data set to the list of outputs 
    7777                self.add_data_set() 
     78                ## Close the data file 
     79                self.raw_data.close() 
    7880        ## Return data set(s) 
    7981        return self.output 
Note: See TracChangeset for help on using the changeset viewer.