Skip to content

Commit

Permalink
Merge pull request #37250 from mantidproject/37249-fix-groupingpowder…
Browse files Browse the repository at this point in the history
…-docs

Fix a failing doctest - `ornl-next`
  • Loading branch information
rboston628 committed May 1, 2024
2 parents 5ef82b8 + aa95acb commit d469a21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/algorithms/GenerateGroupingPowder-v1.rst
Expand Up @@ -72,7 +72,7 @@ Usage
if(os.path.isfile(mantid.config.getString("defaultsave.directory")+"powder.par")):
print("Found file powder.par")
wsg=GroupDetectors(ws,outputFilename)
print("The grouped workspace has {} histograms".format(wsg.getNumberHistograms()))
print("The grouping workspace has {} histograms".format(wsg.getNumberHistograms()))

.. testcleanup:: GenerateGroupingPowder_default

Expand All @@ -90,7 +90,7 @@ Output:

Found file powder.xml
Found file powder.par
The grouped workspace has 14 histograms
The grouping workspace has 14 histograms

----

Expand Down Expand Up @@ -120,7 +120,7 @@ Output:

.. testoutput:: GenerateGroupingPowder_GroupingWorkspace

The grouped workspace has 51200 histograms
The grouping workspace has 51200 histograms



Expand Down
@@ -0,0 +1 @@
- Fix doctest strings for :ref:`GenerateGroupingPowder <algm-GenerateGroupingPowder>`

0 comments on commit d469a21

Please sign in to comment.