Ticket #267 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Create a MantidPythonSimpleAPI

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Iteration 13
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

As discussed.

  • Create a method on the PthyonAPI that creates a MantidPythonSimpleAPI.py library
  • This should contain a method for every algorithm available in the Factory
  • Each method should allow for a simple method signature based on it's parameters.
  • Also include a help method help() should list all algorithms (and any other commands we add later) help("command") should provide details about that command.

Change History

comment:1 Changed 12 years ago by Martyn Gigg

  • Status changed from new to assigned

comment:2 Changed 12 years ago by Martyn Gigg

(In [1478]) Added method to create a simpler Python interface for the Refs #267

comment:3 Changed 12 years ago by Martyn Gigg

[1478] does not handle versioning, it will just pick the latest version

comment:4 Changed 12 years ago by Martyn Gigg

(In [1485]) Added test of SimplePythonAPI Refs #267

comment:5 Changed 12 years ago by Martyn Gigg

(In [1493]) Altered simple python API to deal with optional parameters, Refs #267

comment:6 Changed 12 years ago by Martyn Gigg

(In [1498]) Added help command for each algorithm. Refs #267

comment:7 Changed 12 years ago by Martyn Gigg

(In [1510]) Tidied up simple python interface. Re #267

comment:8 Changed 12 years ago by Martyn Gigg

(In [1569]) Improved Python help, Refs #267

comment:9 Changed 12 years ago by Martyn Gigg

(In [1571]) Removed erroneous comma in simple python help messages and tidied up PythonInterface, removing unneeded LoadIsisRawFile function that can now be handled with the simple API. Re #267

comment:10 Changed 12 years ago by Martyn Gigg

(In [1572]) Minor correction to new python help for zero argument functions and documentation corrections. Re #267

comment:11 Changed 12 years ago by Martyn Gigg

(In [1576]) Fixed the Python API test that I broke when tidying the interface code, Re #267

comment:12 Changed 12 years ago by Russell Taylor

(In [1577]) Fix for crash of SimplePythonAPITest on Windows. Re #267.

comment:13 Changed 12 years ago by Russell Taylor

(In [1582]) Fix other PythonAPI test crashes/failures. Re #267.

comment:14 Changed 12 years ago by Russell Taylor

(In [1583]) Try this. Re #267.

comment:15 Changed 12 years ago by Martyn Gigg

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:16 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1115

Note: See TracTickets for help on using tickets.