Ticket #930 (closed: fixed)
LoadLog - Use the alternate file stream to speed up searching for log files
Reported by: | Nick Draper | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 21 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
The alternate file stream contains a list of the log files for a raw file. This may be much quicker than searching the directory.
Look at the link below:
http://www.mantidproject.org/RAW_File#Alternate_Data_Streams
Note: This may not always be present, so the code must be defensive and fall back to the current directory search.
Change History
comment:1 Changed 11 years ago by Nick Draper
- Status changed from new to assigned
- Owner set to Sofia Antony
comment:8 Changed 11 years ago by Sofia Antony
- Status changed from accepted to testing
- Resolution set to fixed
comment:9 Changed 11 years ago by Anders Markvardsen
- Status changed from testing to reopened
- Resolution fixed deleted
Found that if log file names are available from alternative file stream and one of these log files are not present in the directory of the raw file, as is the case when reading the traw file HRP37125 from the Mantid directory in mantid\Test\Data, then none of the log files are read into Mantid. Change this so that Mantid will attempt to read in each file listed in the alternative file stream and ignore those that are not present and read in those that are present.
comment:10 Changed 11 years ago by Anders Markvardsen
- Owner changed from Sofia Antony to Russell Taylor
- Status changed from reopened to assigned
comment:12 Changed 11 years ago by Russell Taylor
comment:13 Changed 11 years ago by Russell Taylor
- Status changed from accepted to testing
- Resolution set to fixed
comment:14 Changed 11 years ago by Russell Taylor
comment:15 Changed 11 years ago by Anders Markvardsen
- Status changed from testing to closed
Tested and works
comment:16 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 1778