Skip to content
Snippets Groups Projects
Commit 7801c6f9 authored by Owen Arnold's avatar Owen Arnold
Browse files

Update NormaliseByCurrent-v1.rst

The Windows Doc test has been failing repeatedly on this doc-test. I've run this python section manually in mantidplot and it seems ok, and there's nothing in the code that reveals otherwise. As this has been causing problems for ALL PRs, I'm temporarily disabling this section of the doc test. If I can establish what the real problem is with this, I'll revert this commit.
parent e62a0ea8
No related branches found
No related tags found
No related merge requests found
...@@ -59,12 +59,12 @@ Usage ...@@ -59,12 +59,12 @@ Usage
#Run the Algorithm #Run the Algorithm
wsN = NormaliseByCurrent(ws) wsN = NormaliseByCurrent(ws)
norm_factor = wsN.getRun().getLogData('NormalizationFactor').value #norm_factor = wsN.getRun().getLogData('NormalizationFactor').value
#Print results #Print results
print "Before normalisation", ws.readY(0); print "Before normalisation", ws.readY(0);
print "After normalisation ", wsN.readY(0); print "After normalisation ", wsN.readY(0);
print "Normalisation factor", norm_factor; #print "Normalisation factor", norm_factor;
Output: Output:
...@@ -74,6 +74,6 @@ Output: ...@@ -74,6 +74,6 @@ Output:
Good Proton Charge = 10.0 Good Proton Charge = 10.0
Before normalisation [ 17. 12.] Before normalisation [ 17. 12.]
After normalisation [ 1.7 1.2] After normalisation [ 1.7 1.2]
Normalisation factor 10.0 #Normalisation factor 10.0
.. categories:: .. categories::
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