Ticket #4706 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

The simple Python function for Fit does not work in the new API

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Stuart Campbell

Description

Make sure the new API is enabled and run this

Load(Filename="MUSR00015189", OutputWorkspace="MUSR00015189")
Fit('MUSR00015189_1',0,0.5,20,'name=ExpDecay,Height=1,Lifetime=1',Output='musr')

It will stop with an AttributeError after it has run the algorithm

Change History

comment:1 Changed 9 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Martyn Gigg

Refs #4706. Add missing ArrayProperty<string> export.

Also tidied up the error message you get when not assigning to a Load() call.

Changeset: aedda1f3bcaba3f64bc541fbf4f7c9b55223b9d7

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 Stuart Campbell

  • Status changed from verify to verifying
  • Tester set to Stuart Campbell

comment:5 Changed 9 years ago by Stuart Campbell

  • Status changed from verifying to closed

Works for me.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5553

Note: See TracTickets for help on using tickets.