Ticket #3207 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Allow users to deselect algorithm categories they are not interested in - GUI

Reported by: Nick Draper Owned by: Nick Draper
Priority: blocker Milestone: Iteration 29
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Anders Markvardsen

Description

This will need to be another option on the Preferences window to list all the categories with a mechanish to remove those that are not interesting (checkboxes?).

The users selections should be stored in the user.properties file.

At the moment the only way to get a list of categories is to ask every algorithm, a method should be added to the Algorithm Factory or Manager to provide this list.

see also #2128 for the technical implementation of hiding.

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Status changed from new to accepted
  • Owner set to Nick Draper
  • Milestone changed from Iteration 30 to Iteration 29

comment:2 Changed 9 years ago by Nick Draper

(In [12736]) re #3207 Adds the option to select which algorithm categories are available into the Mantid->options tab of the preferences window.

Known Bug: Does not work with nested categories at the moment, but right now the only one is DataHandling, and you'd be a fool to hide that.

comment:3 Changed 9 years ago by Nick Draper

(In [12737]) re #3207 removed an errant namespace

comment:4 Changed 9 years ago by Nick Draper

(In [12738]) re #3207 Oh, and I changed the default separator of multiple categories to ; rather than ,

comment:5 Changed 9 years ago by Nick Draper

(In [12739]) re #3207 This should have it now

comment:6 Changed 9 years ago by Nick Draper

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

(In [12740]) fixes #3207 sorted the nested category bug

comment:7 Changed 9 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:8 Changed 9 years ago by Anders Markvardsen

  • Status changed from verifying to closed

From Preference->Mantid->Option categorised can now be selected/unselected.

As explained above this is is of minor important now since only one category with sub-categories, but noticed the following:

1) To unselect a nested category it is not enough to unselect the top level, you must also unselect all sub-categories 2) Unselecting all sub-categories still appear to leave DataHandling as it was originally

comment:9 Changed 9 years ago by Anders Markvardsen

  • Priority changed from critical to blocker
  • Status changed from closed to reopened
  • Resolution fixed deleted

As a side effect it was found that when hiding categories that the algorithms hidden can no longer be executed from Python - the effect of this e.g. that the custom interfaces no longer work

comment:10 Changed 9 years ago by Martyn Gigg

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

(In [12885]) Ensure that algorithms in hidden categories get generated in the simple API. It can be very confusing if they don't. Fixes #3207

comment:11 Changed 9 years ago by Anders Markvardsen

  • Status changed from verify to verifying

comment:12 Changed 9 years ago by Anders Markvardsen

  • Status changed from verifying to closed

Now works. Tested by unticking all categories. Close MantidPlot. Reopen MantidPlot. Open a custom interface. Run something which uses python etc.

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4054

Note: See TracTickets for help on using tickets.