Ticket #3767 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Diffraction calibration file loading error

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: critical Milestone: Iteration 30
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Janik Zikovsky

Description (last modified by Peter Peterson) (diff)

When loading a calibration file for NOMAD using LoadCalFile that was generated using IDL, none of the calibration information makes it in (/SNS/NOM/shared/NOM_calibrate_d2024_2011_09_06_m2051_2094.cal). The problem is that the code Joerg wrote to generate the file has written all of the numbers as floats and the reader is expecting many of the values to be integers.

Change History

comment:1 Changed 9 years ago by Peter Peterson

  • Description modified (diff)

comment:2 Changed 9 years ago by Peter Peterson

  • Owner changed from Anyone to Peter Peterson
  • Status changed from new to accepted

comment:3 Changed 9 years ago by Peter Peterson

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

In [14796]:

Read in as doubles then cast to integer as appropriate. Fixes #3767.

comment:4 Changed 9 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:5 Changed 9 years ago by Janik Zikovsky

  • Status changed from verifying to closed

Loaded the test file without problem, checked a couple of values and they matched.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4616

Note: See TracTickets for help on using tickets.