Ticket #4213 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Orbiter should check to see if files exist

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Shelly Ren

Description

Since orbiter returns a list of files, return the first one that does exist rather than just the first one.

Change History

comment:1 Changed 9 years ago by Peter Peterson

  • Owner set to Peter Peterson
  • Status changed from new to accepted

comment:2 Changed 9 years ago by Peter Peterson

Check for file existence. Refs #4213.

Changeset: dbdc7ee25dd5acbb0046818e8567e4677a53cb45

comment:3 Changed 9 years ago by Peter Peterson

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

comment:4 Changed 9 years ago by Shelly Ren

  • Status changed from verify to verifying
  • Tester set to Shelly Ren

comment:5 Changed 9 years ago by Shelly Ren

  • Status changed from verifying to closed

Tested EQSANS run 9999:

When /SNS/EQSANS is mounted to the local disc, the returning filename looks good: URL = 'https://orbiter.sns.gov/orbiter/current/service/webservice/OrbiterFindFileService.php/operation/findFile/format/space/fileName/EQSANS_9999_event.nxs' Filename[0] = '/SNS/EQSANS/IPTS-6887/0/9999/NeXus/EQSANS_9999_event.nxs' exists Filename[1] = '/SNS/EQSANS/IPTS-6887/data/EQSANS_9999_event.nxs' exists Filename[2] = Returning Filename = '/SNS/EQSANS/IPTS-6887/0/9999/NeXus/EQSANS_9999_event.nxs'

When /SNS/EQSANS is not mounted, the returning filename is null: URL = 'https://orbiter.sns.gov/orbiter/current/service/webservice/OrbiterFindFileService.php/operation/findFile/format/space/fileName/EQSANS_9999_event.nxs' Filename[0] = '/SNS/EQSANS/IPTS-6887/0/9999/NeXus/EQSANS_9999_event.nxs' does not exist Filename[1] = '/SNS/EQSANS/IPTS-6887/data/EQSANS_9999_event.nxs' does not exist Filename[2] = Returning Filename =

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5060

Note: See TracTickets for help on using tickets.