Move the Muon workflow out of the MuonAnalysis interface code #9338
Labels
Maintenance
Unassigned issues to be addressed in the next maintenance period.
Muon
Issues and pull requests related to muons
Milestone
Original Reporter: Arturs Bekasovs
This ticket is blocked by :
Muon Interface has quite a long sequence of things it does to the loaded workspace before it actually gets plotted on the screen. Currently, all these steps are buried in the depths of the interface code. This is bad.
Firstly, because it makes them difficult to test. Currently, only the individual algorithms are tested, but not how they are working together.
Secondly, this makes it impossible to use the workflow outside the interface, which is currently required for http://trac.mantidproject.org/mantid/ticket/6473.
To solve similar kinds of problems, a notion of ''Workflow algorithm'' was introduced. Those are not doing much work themselves, but are instead setting parameters for child algorithms. This seems like a right thing to use inside Muon Analysis.
So, the initial plan is:
Find out how many and what kind of algorithms are needed.
Write rigorous tests for them.
Implement algorithms so that tests are passing.
Refactor MuonAnalysis interface code to use these algorithms instead.
Keywords: Maintenance
The text was updated successfully, but these errors were encountered: