Ticket #5022 (closed: fixed)
Error when using GroupDetectors with new XML format
Reported by: | Stuart Campbell | Owned by: | Wenduo Zhou |
---|---|---|---|
Priority: | major | Milestone: | Release 2.1 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Vickie Lynch |
Description (last modified by Stuart Campbell) (diff)
I tried to group together a single bank of detectors in a single spectrum, so I had as a grouping file:
<?xml version="1.0" encoding="UTF-8" ?> <detector-grouping instrument="VISION"> <group ID="1"> <component>bank1</component> </group> </detector-grouping>
Then I loaded in a file /SNS/VIS/shared/NeXusFiles/VIS/2012_1_16B_SCI/1/311/NeXus/VIS_311_event.nxs.
I then just ran GroupDetectors.
NOTE: You need to rebin first at the moment as GroupDetectors is not event aware.
The error I get is:
GroupDetectors started GroupDetectors: Error reading input file /home/scu/mantid/vision_inelastic.xml Error in execution of algorithm GroupDetectors: SAXParseException: XML processing instruction not at start of external entity in line 1 column 1. Unable to parse File: in /home/scu/mantid/vision_inelastic.xml
Change History
comment:1 Changed 9 years ago by Stuart Campbell
- type changed from enhancement to defect
- Description modified (diff)
comment:4 Changed 9 years ago by Stuart Campbell
- Owner set to Wenduo Zhou
- Status changed from new to assigned
comment:5 Changed 9 years ago by Stuart Campbell
I think that this might be as simple as an additional space on the first line.
comment:7 Changed 8 years ago by Wenduo Zhou
- Status changed from accepted to verify
- Resolution set to fixed
comment:8 Changed 8 years ago by Vickie Lynch
- Status changed from verify to verifying
- Tester set to Vickie Lynch
comment:9 Changed 8 years ago by Vickie Lynch
- Status changed from verifying to closed
No xml parsing error from GroupDetectors
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5868
Note: See
TracTickets for help on using
tickets.