Ticket #11472 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

LoadNXSPE fails to load some Mantid nxspe files

Reported by: Alex Buts Owned by: Andrei Savici
Priority: major Milestone: Release 3.4
Component: Direct Inelastic Keywords:
Cc: saviciat@… Blocked By:
Blocking: Tester: abuts

Description (last modified by Alex Buts) (diff)

While Mslice loads these files perfectly well.

Try the file:

ftp://ftp.nd.rl.ac.uk/scratch/abuts/Ticket_11472/MER24226atEi12d20meV_abs.nxspe

and try to load it in Mantid using LoadNXSPE. Algorithm fails with error:

Error in execution of algorithm Load:
Instrument: Detector with ID 209 not found. search object 

Change History

comment:1 Changed 6 years ago by Alex Buts

  • Cc saviciat@… added
  • Description modified (diff)

comment:2 Changed 6 years ago by Andrei Savici

  • Owner set to Andrei Savici
  • Status changed from new to assigned
  • Milestone changed from Backlog to Release 3.4

comment:3 Changed 6 years ago by Andrei Savici

Need to move instrument creation before the spectra are populated. Otherwise, if one spectra should be masked, one will try to mask the detector before it is created

comment:4 Changed 6 years ago by Andrei Savici

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

This is being verified as pull request #542.

comment:5 Changed 6 years ago by Andrei Savici

Define instrument before masking. Refs #11472 Changeset: ce48e2ecacdf62a006ed98a89da7cef7f1f24b33

comment:6 Changed 6 years ago by Andrei Savici

isnan fails on windows :(

comment:7 Changed 6 years ago by Andrei Savici

Trying to fix windows issues. Refs #11472

Changeset: 18136f2bc1cb6da091850b97d39c7664fa0cddc1

comment:8 Changed 6 years ago by abuts

  • Status changed from verify to closed
  • Tester set to abuts

Merge pull request #542 from mantidproject/11472_LoadNXSPE_bug

LoadNXSPE fails to load some Mantid nxspe files

Full changeset: c44909c25bcec9e73af60db9c943b685c99d3681

comment:9 Changed 5 years ago by Nick Draper

  • Component changed from Framework to Direct Inelastic

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12311

Note: See TracTickets for help on using tickets.