Skip to content

Commit

Permalink
renamed allLayers to resampledLayers in plotting class
Browse files Browse the repository at this point in the history
  • Loading branch information
RabiyaF committed Apr 18, 2024
1 parent 395cf73 commit 3efcf55
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 @@ -48,7 +48,7 @@ def _plot(self, data: PlotEventData):
for i, (r, sd, sld, layer) in enumerate(zip(data.reflectivity,
data.shiftedData,
data.sldProfiles,
data.allLayers)):
data.resampledLayers)):

r, sd, sld, layer = map(lambda x: x[0], (r, sd, sld, layer))

Expand Down
2 changes: 1 addition & 1 deletion tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def data() -> PlotEventData:
data.dataPresent = [1, 1, 1]
data.subRoughs = [0, 0, 0]
data.resample = [0, 0, 0]
data.allLayers = import_data('all_layers')
data.resampledLayers = import_data('all_layers')
data.reflectivity = import_data('reflectivity')
data.shiftedData = import_data('shifted_data')
data.sldProfiles = import_data('sld_profiles')
Expand Down

0 comments on commit 3efcf55

Please sign in to comment.