Ticket #930 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

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:2 Changed 11 years ago by Sofia Antony

  • Status changed from assigned to accepted

comment:3 Changed 11 years ago by Sofia Antony

(In [3586]) re#930 -Alternate file stream is used to speed up log file search.

comment:4 Changed 11 years ago by Sofia Antony

(In [3593]) re#930 -empty lines skipped when reading alternate data stream .

comment:5 Changed 11 years ago by Sofia Antony

(In [3630]) re#930 -improved load raw speed for multi period data. Load log algorithm is executed for the first period and copied the log information to next periods. re#1064 -improved load project

comment:6 Changed 11 years ago by Sofia Antony

(In [3632]) re#930 - fix for doxygen warnings

comment:7 Changed 11 years ago by Sofia Antony

(In [3638]) re#930

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:11 Changed 11 years ago by Russell Taylor

  • Status changed from assigned to accepted

comment:12 Changed 11 years ago by Russell Taylor

(In [3833]) Don't bail out if a particular log file can't be found, just go onto the next one. Re #930.

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

(In [3834]) Modify logging level. Re #930.

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

Note: See TracTickets for help on using tickets.