Skip to content

Commit 8e158df

Browse files
committed
Addresses review comments
1 parent 85cb028 commit 8e158df

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

RATapi/examples/normal_reflectivity/DSPC_function_background.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ def DSPC_function_background():
145145
problem.custom_files.append(
146146
name="D2O Background Function",
147147
filename="background_function.py",
148-
function_name="backgroundFunction",
149148
language="python",
150149
path=pathlib.Path(__file__).parent.resolve(),
151150
)

RATapi/examples/normal_reflectivity/background_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22

33

4-
def backgroundFunction(xdata, params):
4+
def background_function(xdata, params):
55
# Split up the params array
66
Ao = params[0]
77
k = params[1]

0 commit comments

Comments
 (0)