Ticket #4299 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Investigate way old MUON nexus format does not load

Reported by: Anders Markvardsen Owned by: Karl Palmen
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: anders.markvardsen@… Blocked By:
Blocking: Tester: Anders Markvardsen

Description

The attached 59993.nxs is old muon nexus format.

Steve writes:

Attached is a file from our converter that seems to be giving trouble loading. We’re getting the error:

Welcome to Mantid - Manipulation and Analysis Toolkit for Instrument Data LoadMuonNexus started Error in execution of algorithm LoadMuonLog: invalid string position Error in execution of algorithm LoadMuonNexus: invalid string position

These files were generated from our old binary format using a NeXus converter.

Attachments

59993.nxs (285.2 KB) - added by Anders Markvardsen 9 years ago.
old muon nexus file from steve

Change History

Changed 9 years ago by Anders Markvardsen

old muon nexus file from steve

comment:1 Changed 9 years ago by Karl Palmen

  • Cc anders.markvardsen@… added

The attached file appears to be corrupted. Anders can you please e-mail me a copy so I can investigate.

comment:2 Changed 9 years ago by Anders Markvardsen

  • Priority changed from minor to major

comment:3 Changed 9 years ago by Karl Palmen

It fails because the old muon file has a start_time with a space between the date and time rather than a 'T' as is the case for the newer muon files. MuonNexusReader.cpp expects the 'T' and throws an exception, when it can't find it (to turn it into a space). It should be simple to make it work with both kinds of dates.

comment:4 Changed 9 years ago by Karl Palmen

  • Status changed from new to accepted

comment:5 Changed 9 years ago by Karl Palmen

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

The attached file is corrupt. Test can ask me or Anders Marksvardsen for a copy.

comment:6 Changed 9 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:7 Changed 9 years ago by Anders Markvardsen

  • Status changed from verifying to closed

59993.nxs now loads successfully

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5146

Note: See TracTickets for help on using tickets.