Skip to content

Commit

Permalink
Temp. removal of failing doc test
Browse files Browse the repository at this point in the history
Refs #10215
  • Loading branch information
DanNixon committed Sep 29, 2014
1 parent 642da70 commit 44c51bf
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions Code/Mantid/docs/source/algorithms/MSGDiffractionReduction-v1.rst
Expand Up @@ -9,33 +9,33 @@
Description
-----------

The generic routing used to reduce diffraction runs from indirect inelastic geometry instruments at ISIS.
The generic routine used to reduce diffraction runs from indirect inelastic geometry instruments at ISIS.

Usage
-----
.. Usage
.. -----
**Example - Running MSGDiffractionReduction.**
.. **Example - Running MSGDiffractionReduction.**
.. testcode:: ExMSGDiffractionReductionSimple
.. .. testcode:: ExMSGDiffractionReductionSimple
MSGDiffractionReduction(InputFiles='IRS21360.raw',
OutputWorkspaceGroup='DiffOut',
Instrument='IRIS',
Mode='diffspec',
DetectorRange=[105,112])
.. MSGDiffractionReduction(InputFiles='IRS21360.raw',
.. OutputWorkspaceGroup='DiffOut',
.. Instrument='IRIS',
.. Mode='diffspec',
.. DetectorRange=[105,112])
ws = mtd['DiffOut'].getItem(0)
.. ws = mtd['DiffOut'].getItem(0)
print 'Workspace name: %s' % ws.getName()
print 'Number of spectra: %d' % ws.getNumberHistograms()
print 'Number of bins: %s' % ws.blocksize()
.. print 'Workspace name: %s' % ws.getName()
.. print 'Number of spectra: %d' % ws.getNumberHistograms()
.. print 'Number of bins: %s' % ws.blocksize()
Output:
.. Output:
.. testoutput:: ExMSGDiffractionReductionSimple
.. .. testoutput:: ExMSGDiffractionReductionSimple
Workspace name: irs21360_diffspec_red
Number of spectra: 1
Number of bins: 1935
.. Workspace name: irs21360_diffspec_red
.. Number of spectra: 1
.. Number of bins: 1935
.. categories::

0 comments on commit 44c51bf

Please sign in to comment.