Skip to content

Load algorithm loading nexus if can't find the specified file extension for a given run #35661

@RichardWaiteSTFC

Description

@RichardWaiteSTFC

Describe the bug
Load algorithm loading nexus if can't find the specified file extension (e.g. .s02)

To Reproduce
(1) Make sure archive search is enabled in Manage user directories
(2) Run this script

ws = Load(Filename='PEARL00116374.s09')
algs = ws.getHistory()
print('Filename = ', algs[0].getProperty("Filename").value)

it will print out
['\\\\isis.cclrc.ac.uk\\inst$\\ndxpearl\\instrument\\data\\cycle_21_1\\PEARL00116374.nxs']
i.e. it loads the nexus

Expected behavior
Throw an error for file not found

Metadata

Metadata

Labels

BugIssues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)ISIS: CoreIssue and pull requests at ISIS that relate to Core features and functions

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions