Skip to content

Commit

Permalink
refact: Named argument (#225)
Browse files Browse the repository at this point in the history
There is no reason why don't be explicit here, which also gives more
freedom in the signature for new methods.

This was an issue implementing PresRat, where there was a confusion with
lat_lon and time.
  • Loading branch information
castelao authored Jul 2, 2024
1 parent ee6ab7b commit ec59bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sup3r/pipeline/forward_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ def bias_correct_source_data(self, data, lat_lon):
feature, idf, method, feature_kwargs))

data[..., idf] = method(data[..., idf],
lat_lon,
lat_lon=lat_lon,
**feature_kwargs)

return data
Expand Down

0 comments on commit ec59bd6

Please sign in to comment.