Ticket #4299 (closed: fixed)
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
Change History
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: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: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
old muon nexus file from steve