diff --git a/tests/test_integration.py b/tests/test_integration.py index 304525c..c366369 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -3,6 +3,7 @@ import numpy as np import pytest + from garnet.reduction.integration import PeakEllipsoid, PeakSphere from garnet.reduction.plan import ReductionPlan diff --git a/tests/test_normalization.py b/tests/test_normalization.py index c133705..1376ff8 100644 --- a/tests/test_normalization.py +++ b/tests/test_normalization.py @@ -2,6 +2,7 @@ import subprocess import pytest + from garnet.reduction.normalization import Normalization from garnet.reduction.plan import ReductionPlan diff --git a/tests/test_plan.py b/tests/test_plan.py index 3782544..8ece664 100644 --- a/tests/test_plan.py +++ b/tests/test_plan.py @@ -1,6 +1,7 @@ import os import pytest + from garnet.reduction.integration import Integration from garnet.reduction.normalization import Normalization from garnet.reduction.plan import ReductionPlan diff --git a/tests/test_plots.py b/tests/test_plots.py index f90edc2..8ea59e4 100644 --- a/tests/test_plots.py +++ b/tests/test_plots.py @@ -3,6 +3,7 @@ import numpy as np import scipy.linalg import scipy.spatial + from garnet.plots.peaks import PeakPlot, RadiusPlot from garnet.plots.volume import SlicePlot from garnet.reduction.integration import PeakEllipsoid, PeakSphere diff --git a/tests/test_ub.py b/tests/test_ub.py index 937123e..2853c30 100644 --- a/tests/test_ub.py +++ b/tests/test_ub.py @@ -1,7 +1,8 @@ import numpy as np -from garnet.reduction.ub import Optimization from mantid.simpleapi import AddPeakHKL, CreatePeaksWorkspace, SetUB +from garnet.reduction.ub import Optimization + def create_peaks(name, a, b, c, alpha, beta, gamma): CreatePeaksWorkspace(NumberOfPeaks=0, OutputType="LeanElasticPeak", OutputWorkspace=name) diff --git a/tests/test_workflow.py b/tests/test_workflow.py index 9dd0231..d76f8a0 100644 --- a/tests/test_workflow.py +++ b/tests/test_workflow.py @@ -2,8 +2,9 @@ import subprocess import sys -import garnet.workflow import pytest + +import garnet.workflow from garnet.workflow import main as main