Ticket #4502 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Inplace binary ops with new API don't get called correctly

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Karl Palmen

Description

wksp = "CNCS7860" # this one is in autotestdata
LoadEventNexus(wksp, OutputWorkspace=wksp)
wksp=mtd[wksp]
wksp *= 2.

This results in two workspaces rather than 1

Change History

comment:1 Changed 9 years ago by Martyn Gigg

Refs #4502. Fix method name so that the correct binary op is called.

Ensure that inplace binary ops in Python call the correct method.

Changeset: 73a5cd546ca9db38faaa4b5074773e4fd57d94dd

comment:2 Changed 9 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Martyn Gigg

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

comment:4 Changed 9 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:5 Changed 9 years ago by Karl Palmen

  • Status changed from verifying to closed

One workspace is created when the script is run.

comment:6 Changed 9 years ago by Martyn Gigg

Refs #4502. Fix method name so that the correct binary op is called.

Ensure that inplace binary ops in Python call the correct method.

Changeset: 73a5cd546ca9db38faaa4b5074773e4fd57d94dd

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5349

Note: See TracTickets for help on using tickets.