Ticket #6575 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Update scripts to api v2: Inelastic (Direct and Indirect)

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: blocker Milestone: Release 2.5
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Gesner Passos

Description

If it is not too much trouble also look at the script repository, qti genie in particular

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

Move direct inelastic to Python v2 API. Refs #6575

Changeset: 9f907c0e6f91ac72fedf547a52eac2b191662ef5

comment:3 Changed 8 years ago by Martyn Gigg

Add static creation methods to Python Axis classes. Refs #6575

Avoids the ugly create* methods for each type polluting the namespace.

Changeset: 07e2c9c7ab212493ba44d86d5a0ebcca69dd7f2b

comment:4 Changed 8 years ago by Martyn Gigg

Set Filename first when creating alg from history. Refs #6575

A better solution is required for more general cases where some algorithms get additional properties after another is set.

Changeset: 985efcd8cfafe5999c128323c1fbad3f8178af5f

comment:5 Changed 8 years ago by Martyn Gigg

Update indirect inelastic scripts to new Python. Refs #6575

Changeset: f08c71552ad42559b1575494bae98bbc5958a520

comment:6 Changed 8 years ago by Martyn Gigg

Catch a few more old API references. Refs #6575

Changeset: f2136f044d29482acd5d0ce92604dcb1db95e915

comment:7 Changed 8 years ago by Martyn Gigg

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

New ticket for comment 4: #6637

comment:8 Changed 8 years ago by Martyn Gigg

New ticket for script repository move: #6638

comment:9 Changed 8 years ago by Martyn Gigg

Tester: The Inelastic sub-directory should be clear of MantidFramework & mantidsimple references. The system tests should all be passing and the interfaces in MantidPlot, i.e. ConvertToEnergy & other indirect ones should still work.

comment:10 Changed 8 years ago by Gesner Passos

  • Status changed from verify to verifying
  • Tester set to Gesner Passos

comment:11 Changed 8 years ago by Gesner Passos

  • Status changed from verifying to closed

Add a warning message for every time the first version API is used. And, it is loaded just once at the very beggining of Mantid. But, for all the interactions with the ConvertToEnergy and Indirect Analysis, the first version was not loaded.

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7421

Note: See TracTickets for help on using tickets.