Ticket #2372 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Run file searching doesn't work from a script

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: critical Milestone: Iteration 27
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Brett Tully

Description

From Rob Dalgliesh

LoadRaw("offspec00007580.raw,"w_1",LoadMonitors="Include")

Doesn't find the file even when the directories are set or archive searching is switched on.

The problem is that the run file search is case sensitive on the instrument name, so changing offspec->OFFSPEC works.

The search should be case insensitive though.

Change History

comment:1 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted
  • Owner set to Martyn Gigg

comment:2 Changed 10 years ago by Martyn Gigg

(In [9346]) Make file searching a little more flexible when it comes to instrument name cases. Re #2372

comment:3 Changed 10 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:4 Changed 10 years ago by Martyn Gigg

  • Status changed from verify to reopened
  • Resolution fixed deleted

comment:5 Changed 10 years ago by Martyn Gigg

(In [9352]) Minor fix for file searching plus and extra test in LoadAsciiTest to double check. Re #2372

comment:6 Changed 10 years ago by Martyn Gigg

(In [9356]) Fix a bug in LoadAscii when trying to process header information from a file written on a different platform. Also fix the FileFinder test. Re #2271 Re #2372

comment:7 Changed 10 years ago by Martyn Gigg

(In [9357]) Move the case searching of the instrument to a more appropriate place. Re #2372.

comment:8 Changed 10 years ago by Martyn Gigg

  • Status changed from reopened to accepted

The instrument names are now case-insensitive if searched without a file extension however, something like offspec12345.raw will not work. Ticket should #2392 clears this up.

comment:9 Changed 10 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:10 Changed 10 years ago by Brent Tully

  • Status changed from verify to verifying
  • Tester set to Brent Tully

comment:11 Changed 10 years ago by Brent Tully

  • Status changed from verifying to closed

Case insensitive file loading successful in 1.1.9450

comment:12 Changed 10 years ago by Nick Draper

  • Tester changed from Brent Tully to Brett Tully

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3219

Note: See TracTickets for help on using tickets.