Skip to content

Commit

Permalink
Updated variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
RabiyaF committed Apr 18, 2024
1 parent 570ce05 commit 395cf73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RAT/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _plot(self, data: PlotEventData):
if data.resample[i] == 1 or data.modelType == 'custom xy':
new = makeSLDProfileXY(layer[0, 1],
layer[-1, 1],
data.ssubs[i],
data.subRoughs[i],
layer,
len(layer),
1.0)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def data() -> PlotEventData:
data = PlotEventData()
data.modelType = 'custom xy'
data.dataPresent = [1, 1, 1]
data.ssubs = [0, 0, 0]
data.subRoughs = [0, 0, 0]
data.resample = [0, 0, 0]
data.allLayers = import_data('all_layers')
data.reflectivity = import_data('reflectivity')
Expand Down

0 comments on commit 395cf73

Please sign in to comment.