Skip to content

Commit f819023

Browse files
committed
Updated variable name
1 parent e947ce6 commit f819023

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

RAT/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _plot(self, data: PlotEventData):
7575
if data.resample[i] == 1 or data.modelType == 'custom xy':
7676
new = makeSLDProfileXY(layer[0, 1],
7777
layer[-1, 1],
78-
data.ssubs[i],
78+
data.subRoughs[i],
7979
layer,
8080
len(layer),
8181
1.0)

tests/test_plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def data() -> PlotEventData:
3535
data = PlotEventData()
3636
data.modelType = 'custom xy'
3737
data.dataPresent = [1, 1, 1]
38-
data.ssubs = [0, 0, 0]
38+
data.subRoughs = [0, 0, 0]
3939
data.resample = [0, 0, 0]
4040
data.allLayers = import_data('all_layers')
4141
data.reflectivity = import_data('reflectivity')

0 commit comments

Comments
 (0)