Ticket #2661 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Expose Progress() within Python Algorithms

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

Description

To allow PyAlgs to report progress.

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 28 to Iteration 29

Bulk move of tickets at the end of iteration 28

comment:2 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 29 to Iteration 30

"New" tickets moved at the code freeze of iteration 29

comment:3 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:4 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:5 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:6 Changed 8 years ago by Peter Peterson

  • Owner changed from Peter Peterson to Martyn Gigg
  • Status changed from new to assigned

I believe that Martyn has been working on this already.

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:8 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:9 Changed 8 years ago by Martyn Gigg

  • Milestone changed from Release 2.4 to Release 2.5

comment:10 Changed 8 years ago by Nick Draper

  • Priority changed from major to critical

Specifically requested by James Lord

comment:11 Changed 8 years ago by Martyn Gigg

  • Priority changed from critical to blocker

comment:12 Changed 8 years ago by Martyn Gigg

Expose ProgressBase to Python. Refs #2661

Changeset: 6958ed789acfaf1f0de6dde41ae42f4e133ed895

comment:13 Changed 8 years ago by Martyn Gigg

Export the algorithm progress reporter. Refs #2661

Changeset: a5e26c4f1e9057319d3d48dc84d6c93bf14a495a

comment:14 Changed 8 years ago by Martyn Gigg

  • Status changed from assigned to accepted

comment:15 Changed 8 years ago by Martyn Gigg

Add example of progress reporting to Squares.py Refs #2661

Changeset: 64716c2351d7f121a0df1fcebd75dd5ef960211e

comment:16 Changed 8 years ago by Martyn Gigg

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

Tester:

Branch: feature/2661_pyalg_progress

The Progress class has been exported to Python meaning that progress can be reported from Python algorithms in a similar manner to C++ algorithms.

The wiki documentation has been updated: http://www.mantidproject.org/PythonAlgorithm_Progress_Reporting and the easiest way to test is to start with the Squares algorithm in the PythonInteface/PythonAlgorithmss/Examples folder and play with this.

comment:17 Changed 8 years ago by Gesner Passos

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

comment:18 Changed 8 years ago by Martyn Gigg

Expose ProgressBase to Python. Refs #2661

Changeset: 6958ed789acfaf1f0de6dde41ae42f4e133ed895

comment:19 Changed 8 years ago by Martyn Gigg

Export the algorithm progress reporter. Refs #2661

Changeset: a5e26c4f1e9057319d3d48dc84d6c93bf14a495a

comment:20 Changed 8 years ago by Martyn Gigg

Add example of progress reporting to Squares.py Refs #2661

Changeset: 64716c2351d7f121a0df1fcebd75dd5ef960211e

comment:21 Changed 8 years ago by Gesner Passos

  • Status changed from verifying to closed

The documentation and examples are clear, and the progress bar shows the inputs of ProgressBar. So it worked well.

comment:22 Changed 8 years ago by Martyn Gigg

Expose ProgressBase to Python. Refs #2661

Changeset: 6958ed789acfaf1f0de6dde41ae42f4e133ed895

comment:23 Changed 8 years ago by Martyn Gigg

Export the algorithm progress reporter. Refs #2661

Changeset: a5e26c4f1e9057319d3d48dc84d6c93bf14a495a

comment:24 Changed 8 years ago by Martyn Gigg

Add example of progress reporting to Squares.py Refs #2661

Changeset: 64716c2351d7f121a0df1fcebd75dd5ef960211e

comment:25 Changed 8 years ago by Martyn Gigg

Expose ProgressBase to Python. Refs #2661

Changeset: 6958ed789acfaf1f0de6dde41ae42f4e133ed895

comment:26 Changed 8 years ago by Martyn Gigg

Export the algorithm progress reporter. Refs #2661

Changeset: a5e26c4f1e9057319d3d48dc84d6c93bf14a495a

comment:27 Changed 8 years ago by Martyn Gigg

Add example of progress reporting to Squares.py Refs #2661

Changeset: 64716c2351d7f121a0df1fcebd75dd5ef960211e

comment:28 Changed 8 years ago by Martyn Gigg

Expose ProgressBase to Python. Refs #2661

Changeset: 6958ed789acfaf1f0de6dde41ae42f4e133ed895

comment:29 Changed 8 years ago by Martyn Gigg

Export the algorithm progress reporter. Refs #2661

Changeset: a5e26c4f1e9057319d3d48dc84d6c93bf14a495a

comment:30 Changed 8 years ago by Martyn Gigg

Add example of progress reporting to Squares.py Refs #2661

Changeset: 64716c2351d7f121a0df1fcebd75dd5ef960211e

comment:31 Changed 8 years ago by Martyn Gigg

Expose ProgressBase to Python. Refs #2661

Changeset: 6958ed789acfaf1f0de6dde41ae42f4e133ed895

comment:32 Changed 8 years ago by Martyn Gigg

Export the algorithm progress reporter. Refs #2661

Changeset: a5e26c4f1e9057319d3d48dc84d6c93bf14a495a

comment:33 Changed 8 years ago by Martyn Gigg

Add example of progress reporting to Squares.py Refs #2661

Changeset: 64716c2351d7f121a0df1fcebd75dd5ef960211e

comment:34 Changed 8 years ago by Martyn Gigg

Expose ProgressBase to Python. Refs #2661

Changeset: 6958ed789acfaf1f0de6dde41ae42f4e133ed895

comment:35 Changed 8 years ago by Martyn Gigg

Export the algorithm progress reporter. Refs #2661

Changeset: a5e26c4f1e9057319d3d48dc84d6c93bf14a495a

comment:36 Changed 8 years ago by Martyn Gigg

Add example of progress reporting to Squares.py Refs #2661

Changeset: 64716c2351d7f121a0df1fcebd75dd5ef960211e

comment:37 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3508

Note: See TracTickets for help on using tickets.