Ticket #5135 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Load/Fit with all keyword arguments resets the extra options when all keywords supplied

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: critical Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

Load(Filename='LOQ48127.raw', OutputWorkspace='raw',SpectrumMax=1)

should produce a workspace with 1 histogram. Instead the max argument is ignored. If called as Load('LOQ48127.raw', OutputWorkspace='raw',SpectrumMax=1) it works however

Change History

comment:1 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Martyn Gigg

Fix problem with keywords in Load/Fit in simple api. Refs #5135

Any keyword arguments also expected as positional were being set twice so they reset the other properties.

Changeset: 97c5d697a6281d2f63b7fbc421660318eb767548

comment:3 Changed 8 years ago by Martyn Gigg

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

comment:4 Changed 8 years ago by Martyn Gigg

Don't run the test fit python tests on darwin yet. Refs #5135

Changeset: e97a66197537479fa87c99d9fcb6429a1ec0f67f

comment:5 Changed 8 years ago by Martyn Gigg

Fix problem with keywords in Load/Fit in simple api. Refs #5135

Any keyword arguments also expected as positional were being set twice so they reset the other properties.

Changeset: 97c5d697a6281d2f63b7fbc421660318eb767548

comment:6 Changed 8 years ago by Martyn Gigg

Don't run the test fit python tests on darwin yet. Refs #5135

Changeset: e97a66197537479fa87c99d9fcb6429a1ec0f67f

comment:7 Changed 8 years ago by Owen Arnold

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

comment:8 Changed 8 years ago by Owen Arnold

  • Status changed from verifying to closed

Test scenario demonstrates fix.

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5981

Note: See TracTickets for help on using tickets.