Skip to content

Commit

Permalink
refactor: Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyXiaoAnAn authored Jan 8, 2024
1 parent 87858bb commit d441404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyart/aux_io/rainbow_wrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def read_rainbow_wrl(
# all sweeps have to have the same range resolution
for i in range(nslices):
slice_info = rbf["volume"]["scan"]["slice"][i]
if (slice_info['rangestep'] != common_slice_info["rangestep"]):
if slice_info['rangestep'] != common_slice_info["rangestep"]:
raise ValueError("range resolution changes between sweeps")

r_res = float(common_slice_info["rangestep"]) * 1000.0
Expand Down Expand Up @@ -354,7 +354,7 @@ def read_rainbow_wrl(
slice_info["slicedata"]["rawdata"],
rays_per_sweep[i],
nbins_sweep[i],
maxbin
maxbin,
)

if bfile.endswith(".vol") or bfile.endswith(".azi"):
Expand Down

0 comments on commit d441404

Please sign in to comment.