From ceefadf1bfe99fc7e21455e67be850d7929811d8 Mon Sep 17 00:00:00 2001
From: Walter Van Herck <w.van.herck@fz-juelich.de>
Date: Wed, 29 Nov 2017 16:53:18 +0100
Subject: [PATCH] Fix rename in Python example

---
 .../simulation/ex05_BeamAndDetector/ConstantBackground.py       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Examples/python/simulation/ex05_BeamAndDetector/ConstantBackground.py b/Examples/python/simulation/ex05_BeamAndDetector/ConstantBackground.py
index d22fd494421..5c9dd2d7294 100644
--- a/Examples/python/simulation/ex05_BeamAndDetector/ConstantBackground.py
+++ b/Examples/python/simulation/ex05_BeamAndDetector/ConstantBackground.py
@@ -41,7 +41,7 @@ def get_simulation():
     simulation.setBeamParameters(1.0*angstrom, 0.2*deg, 0.0*deg)
     simulation.setBeamIntensity(1e6)
     bg = ba.ConstantBackground(1e3)
-    simulation.setBackGround(bg)
+    simulation.setBackground(bg)
     return simulation
 
 
-- 
GitLab