Ticket #2458 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Bug with Load algorithm from Python. It only sets the last property

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Iteration 27
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

Running something like

Load('ALF15739.raw','w',SpectrumMin=10,SpectrumMax=100)

results in the LoadRaw algorithm being called with the default value of SpectrumMin rather than that given.

The GUI is okay.

Change History

comment:1 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Martyn Gigg

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

(In [9534]) Fix for load algorithm that would redeclare properties which already existed and reset their values if they had been set. Added a test case for this in the unit test. Fixes #2458

comment:3 Changed 10 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:4 Changed 10 years ago by Owen Arnold

  • Status changed from verifying to closed

New unit tests "testPropertyValuesViaProxy()" and "testSwitchingLoaderViaProxy()", which verify that the SpectrumMin and Spectrum max values are passed through correctly have been run and verified.

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3306

Note: See TracTickets for help on using tickets.