Ticket #1462 (closed: fixed)
Give LoadSpec the power to load ascii files with multi spectrum in it
Reported by: | Jean Bilheux | Owned by: | Michael Reuter |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 25 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Peter Peterson |
Description
Change History
comment:1 Changed 10 years ago by Jean Bilheux
- Status changed from new to closed
- Resolution set to fixed
comment:3 Changed 10 years ago by Janik Zikovsky
- Status changed from verify to verifying
- Tester set to Janik Zikovsky
comment:4 Changed 10 years ago by Janik Zikovsky
- Status changed from verifying to reopened
- Resolution fixed deleted
Steps for a crash:
- I tried LoadSpec from the GUI MantidPlot
- Filename: Test/Data/AsciiExample.txt
- Any workspace name,
- And I got a seg fault when I click OK.
I got segfaults on other text files - there should be some validation to help prevent segfaults.
Also, there should be a test for the algorithm, I couldn't find one.
comment:5 Changed 10 years ago by Jean Bilheux
- Owner set to Jean Bilheux
- Status changed from reopened to accepted
comment:9 Changed 10 years ago by Jean Bilheux
- Status changed from accepted to verify
- Resolution set to fixed
comment:10 Changed 10 years ago by Peter Peterson
- Status changed from verify to verifying
- Component set to Mantid
- Tester changed from Janik Zikovsky to Peter Peterson
comment:11 Changed 10 years ago by Peter Peterson
- Status changed from verifying to reopened
- Resolution fixed deleted
For the allowed units "MomemtumTransfer" (misspelled) crashed Mantid. The correct spelling "MomentumTransfer" works fine. Once this is fixed the ticket can be closed.
comment:12 Changed 10 years ago by Michael Reuter
- Owner changed from Jean Bilheux to Michael Reuter
- Status changed from reopened to accepted
comment:13 Changed 10 years ago by Michael Reuter
- Status changed from accepted to verify
- Resolution set to fixed
comment:15 Changed 10 years ago by Peter Peterson
- Status changed from verifying to closed
It works now.
comment:16 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2309
Note: See
TracTickets for help on using
tickets.
(In [5642]) Modified Code to allow the code to be able to read simple and multi ascii files produced by the SNS data reduction. This fixed #1462