Skip to content

Commit

Permalink
Minor indentation bug in get_encodings()
Browse files Browse the repository at this point in the history
  • Loading branch information
bdestombe committed Aug 25, 2023
1 parent 9f56477 commit c44f5d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nlmod/dims/attributes_encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ def get_encodings(
encoding["zlib"] = True
encoding["complevel"] = 5

if set_encoding_inplace:
da.encoding = encoding
else:
return encodings
if set_encoding_inplace:
da.encoding = encoding
else:
return encodings


def compute_scale_and_offset(minValue, maxValue):
Expand Down

0 comments on commit c44f5d2

Please sign in to comment.