Skip to content
Snippets Groups Projects
Commit f6e9ee65 authored by David Fairbrother's avatar David Fairbrother
Browse files

Re #18108 Fixed flake warnings

parent c92a270b
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@ from __future__ import (absolute_import, division, print_function)
import os
import stresstesting
import mantid.simpleapi as mantid
from mantid import config
from isis_powder.pearl import Pearl
......@@ -95,4 +94,3 @@ def _setup_pearl_instrument(tt_mode):
calibration_directory=_get_calibration_dir(), output_directory=_get_output_dir(),
calibration_config_path=calibration_map_file_path)
return pearl_obj
......@@ -5,7 +5,7 @@ from abc import ABCMeta, abstractmethod
from six import add_metaclass
from isis_powder.routines import calibrate, focus, common
from isis_powder.routines import calibrate, focus
# This class provides common hooks for instruments to override
......@@ -104,8 +104,6 @@ class AbstractInst(object):
return None
# Optional overrides
@abstractmethod
def apply_absorb_corrections(self, run_details, van_ws, gen_absorb=False):
"""
......
......@@ -44,6 +44,7 @@ def generate_vanadium_absorb_corrections(van_ws):
mantid.CreateSampleShape(InputWorkspace=shape_ws, ShapeXML='<sphere id="sphere_1"> <centre x="0" y="0" z= "0" />\
<radius val="0.005" /> </sphere>')
calibration_full_paths = None
absorb_ws = \
mantid.AbsorptionCorrection(InputWorkspace=shape_ws, AttenuationXSection="5.08",
ScatteringXSection="5.1", SampleNumberDensity="0.072",
......
......@@ -3,7 +3,6 @@ from __future__ import (absolute_import, division, print_function)
import mantid.simpleapi as mantid
import os
from isis_powder.routines import common, yaml_parser
from isis_powder.routines.common_enums import InputBatchingEnum
from isis_powder.routines.RunDetails import RunDetails
from isis_powder.polaris_routines import polaris_advanced_config
......
......@@ -19,4 +19,3 @@ class RunDetails(object):
self.splined_vanadium_file_path = None
self.vanadium_absorption_path = None
self.vanadium_run_numbers = None
from __future__ import (absolute_import, division, print_function)
import os
import warnings
import yaml
from isis_powder.routines import common as common
from isis_powder.routines import yaml_sanity
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment