Opened 7 years ago

Closed 7 years ago

#876 closed defect (fixed)

Add check for HDF5 format in dataloader

Reported by: krzywon Owned by: krzywon
Priority: major Milestone: SasView 4.2.0
Component: SasView Keywords:
Cc: Work Package: SasView Framework Enhancements

Description

When loading data files, if the file extension is not in defaults.json (like .cor/.corx for NIST USANS), two further attempts to load the file are made. The first is with the ascii reader and the second is with the cansas XML reader.

The canSAS2012 data format uses the NeXus? format and HDF5, but there is no defined file extension in the requirements doc. As more facilities go toward this format, there is no telling what file extensions they will use. With this in mind, we should probably add the HDF5 reader as a third option when we load unknown extensions.

Change History (2)

comment:1 Changed 7 years ago by krzywon

  • Owner set to krzywon
  • Status changed from new to assigned

comment:2 Changed 7 years ago by GitHub <noreply@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In f001bc9e4b9d1ac0d4712117442f0c949334dbc4/sasview:

Merge pull request #95 from lewisodriscoll/ticket-876

Refactor File Loaders - fixes #889 #950 #849 #876 #922 #983 #970

Note: See TracTickets for help on using tickets.