From df2e9f7b7a56ab1d040c398f5f201258ee1c8cd0 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Tue, 4 Jul 2023 17:47:40 +0200 Subject: [PATCH] 7 tests broken --- auto/Examples/fit/specular/Honeycomb_fit.py | 4 ++-- auto/Examples/fit/specular/PolarizedSpinAsymmetry.py | 4 ++-- auto/Examples/fit/specular/Pt_layer_fit.py | 4 ++-- auto/Examples/specular/PolarizedSpinAsymmetry.py | 4 ++-- auto/MiniExamples/fit/specular/Honeycomb_fit.py | 4 ++-- auto/MiniExamples/fit/specular/PolarizedSpinAsymmetry.py | 4 ++-- auto/MiniExamples/fit/specular/Pt_layer_fit.py | 4 ++-- auto/MiniExamples/specular/PolarizedSpinAsymmetry.py | 4 ++-- rawEx/fit/specular/Honeycomb_fit.py | 4 ++-- rawEx/fit/specular/Pt_layer_fit.py | 4 ++-- rawEx/specular/PolarizedSpinAsymmetry.py | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/auto/Examples/fit/specular/Honeycomb_fit.py b/auto/Examples/fit/specular/Honeycomb_fit.py index 78bcbd7751d..e9dc5fa8033 100755 --- a/auto/Examples/fit/specular/Honeycomb_fit.py +++ b/auto/Examples/fit/specular/Honeycomb_fit.py @@ -109,8 +109,8 @@ def qr(result): """ Return q and reflectivity arrays from simulation result. """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r diff --git a/auto/Examples/fit/specular/PolarizedSpinAsymmetry.py b/auto/Examples/fit/specular/PolarizedSpinAsymmetry.py index a172b5d77ed..b2f9feefbc4 100755 --- a/auto/Examples/fit/specular/PolarizedSpinAsymmetry.py +++ b/auto/Examples/fit/specular/PolarizedSpinAsymmetry.py @@ -101,8 +101,8 @@ def qr(result): Returns two arrays that hold the q-values as well as the reflectivity from a given simulation result """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r diff --git a/auto/Examples/fit/specular/Pt_layer_fit.py b/auto/Examples/fit/specular/Pt_layer_fit.py index 0c68580818f..de39eb13832 100755 --- a/auto/Examples/fit/specular/Pt_layer_fit.py +++ b/auto/Examples/fit/specular/Pt_layer_fit.py @@ -88,8 +88,8 @@ def qr(result): """ Return q and reflectivity arrays from simulation result. """ - q = np.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = np.array(result.array(ba.Coords_QSPACE)) + q = np.array(result.convertedBinCenters()) + r = np.array(result.array()) return q, r diff --git a/auto/Examples/specular/PolarizedSpinAsymmetry.py b/auto/Examples/specular/PolarizedSpinAsymmetry.py index a172b5d77ed..b2f9feefbc4 100755 --- a/auto/Examples/specular/PolarizedSpinAsymmetry.py +++ b/auto/Examples/specular/PolarizedSpinAsymmetry.py @@ -101,8 +101,8 @@ def qr(result): Returns two arrays that hold the q-values as well as the reflectivity from a given simulation result """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r diff --git a/auto/MiniExamples/fit/specular/Honeycomb_fit.py b/auto/MiniExamples/fit/specular/Honeycomb_fit.py index 78bcbd7751d..e9dc5fa8033 100755 --- a/auto/MiniExamples/fit/specular/Honeycomb_fit.py +++ b/auto/MiniExamples/fit/specular/Honeycomb_fit.py @@ -109,8 +109,8 @@ def qr(result): """ Return q and reflectivity arrays from simulation result. """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r diff --git a/auto/MiniExamples/fit/specular/PolarizedSpinAsymmetry.py b/auto/MiniExamples/fit/specular/PolarizedSpinAsymmetry.py index a172b5d77ed..b2f9feefbc4 100755 --- a/auto/MiniExamples/fit/specular/PolarizedSpinAsymmetry.py +++ b/auto/MiniExamples/fit/specular/PolarizedSpinAsymmetry.py @@ -101,8 +101,8 @@ def qr(result): Returns two arrays that hold the q-values as well as the reflectivity from a given simulation result """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r diff --git a/auto/MiniExamples/fit/specular/Pt_layer_fit.py b/auto/MiniExamples/fit/specular/Pt_layer_fit.py index 0c68580818f..de39eb13832 100755 --- a/auto/MiniExamples/fit/specular/Pt_layer_fit.py +++ b/auto/MiniExamples/fit/specular/Pt_layer_fit.py @@ -88,8 +88,8 @@ def qr(result): """ Return q and reflectivity arrays from simulation result. """ - q = np.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = np.array(result.array(ba.Coords_QSPACE)) + q = np.array(result.convertedBinCenters()) + r = np.array(result.array()) return q, r diff --git a/auto/MiniExamples/specular/PolarizedSpinAsymmetry.py b/auto/MiniExamples/specular/PolarizedSpinAsymmetry.py index a172b5d77ed..b2f9feefbc4 100755 --- a/auto/MiniExamples/specular/PolarizedSpinAsymmetry.py +++ b/auto/MiniExamples/specular/PolarizedSpinAsymmetry.py @@ -101,8 +101,8 @@ def qr(result): Returns two arrays that hold the q-values as well as the reflectivity from a given simulation result """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r diff --git a/rawEx/fit/specular/Honeycomb_fit.py b/rawEx/fit/specular/Honeycomb_fit.py index 78bcbd7751d..e9dc5fa8033 100755 --- a/rawEx/fit/specular/Honeycomb_fit.py +++ b/rawEx/fit/specular/Honeycomb_fit.py @@ -109,8 +109,8 @@ def qr(result): """ Return q and reflectivity arrays from simulation result. """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r diff --git a/rawEx/fit/specular/Pt_layer_fit.py b/rawEx/fit/specular/Pt_layer_fit.py index 0c68580818f..de39eb13832 100755 --- a/rawEx/fit/specular/Pt_layer_fit.py +++ b/rawEx/fit/specular/Pt_layer_fit.py @@ -88,8 +88,8 @@ def qr(result): """ Return q and reflectivity arrays from simulation result. """ - q = np.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = np.array(result.array(ba.Coords_QSPACE)) + q = np.array(result.convertedBinCenters()) + r = np.array(result.array()) return q, r diff --git a/rawEx/specular/PolarizedSpinAsymmetry.py b/rawEx/specular/PolarizedSpinAsymmetry.py index a172b5d77ed..b2f9feefbc4 100755 --- a/rawEx/specular/PolarizedSpinAsymmetry.py +++ b/rawEx/specular/PolarizedSpinAsymmetry.py @@ -101,8 +101,8 @@ def qr(result): Returns two arrays that hold the q-values as well as the reflectivity from a given simulation result """ - q = numpy.array(result.convertedBinCenters(ba.Coords_QSPACE)) - r = numpy.array(result.array(ba.Coords_QSPACE)) + q = numpy.array(result.convertedBinCenters()) + r = numpy.array(result.array()) return q, r -- GitLab