From f4303a9cceeb8a67c98982cc96f2d7127a8c146e Mon Sep 17 00:00:00 2001 From: Owen Arnold <owen.arnold@stfc.ac.uk> Date: Mon, 21 Jan 2019 13:15:25 +0000 Subject: [PATCH] refs #24322. Remove unused imports --- docs/source/concepts/ComponentInfo.rst | 2 -- docs/source/concepts/DetectorInfo.rst | 2 -- 2 files changed, 4 deletions(-) diff --git a/docs/source/concepts/ComponentInfo.rst b/docs/source/concepts/ComponentInfo.rst index 880f87d6e61..5aa5257c45e 100644 --- a/docs/source/concepts/ComponentInfo.rst +++ b/docs/source/concepts/ComponentInfo.rst @@ -23,8 +23,6 @@ Print indices of detectors in "bank1" that are masked .. code-block:: python from mantid.simpleapi import CreateSampleWorkspace - from mantid.geometry import ComponentInfo, ComponentInfoPythonIterator - from mantid.geometry import DetectorInfo, DetectorInfoPythonIterator ws = CreateSampleWorkspace() comp_info = ws.componentInfo() diff --git a/docs/source/concepts/DetectorInfo.rst b/docs/source/concepts/DetectorInfo.rst index a6b9236ea7f..a7e6783b04c 100644 --- a/docs/source/concepts/DetectorInfo.rst +++ b/docs/source/concepts/DetectorInfo.rst @@ -23,7 +23,6 @@ Mask detectors at some distance from the source .. code-block:: python from mantid.simpleapi import CreateSampleWorkspace - from mantid.geometry import DetectorInfo, DetectorInfoPythonIterator # Test workspace with instrument ws = CreateSampleWorkspace() @@ -37,7 +36,6 @@ Print detectors with scattering angle .. code-block:: python from mantid.simpleapi import CreateSampleWorkspace - from mantid.geometry import DetectorInfo, DetectorInfoPythonIterator # Test workspace with instrument ws = CreateSampleWorkspace() -- GitLab