Commit e23a47d5 authored by Zhang, Chen's avatar Zhang, Chen
Browse files

convert to doctest

parent a8d822e7
......@@ -62,7 +62,7 @@ Example
The following Python script generate a synthetic data set (instrument and sample) to show case the interface
.. code-block:: python
.. testcode:: TestSyntheticData
def make_sample_workspace():
# Create a fake workspace with TOF data
......@@ -135,6 +135,8 @@ The following Python script generate a synthetic data set (instrument and sample
)
ms_multi = correction_multiple_scattering(ws)
.. testcleanup:: TestSyntheticData
.. categories::
.. sourcelink::
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment