File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1030,15 +1030,15 @@ def _set_season_config_attr(self, season_config: SeasonConfigInput):
1030
1030
1031
1031
# TODO: Deprecate incomplete_djf.
1032
1032
drop_incomplete_djf = season_config .get ("drop_incomplete_djf" , False )
1033
- if drop_incomplete_djf is not False :
1034
- warnings .warn (
1035
- "The `season_config` argument 'drop_incomplete_djf' is being "
1036
- "deprecated. Please use 'drop_incomplete_seasons' instead." ,
1037
- DeprecationWarning ,
1038
- stacklevel = 2 ,
1039
- )
1040
-
1041
1033
if dec_mode == "DJF" :
1034
+ if drop_incomplete_djf is not False :
1035
+ warnings .warn (
1036
+ "The `season_config` argument 'drop_incomplete_djf' is being "
1037
+ "deprecated. Please use 'drop_incomplete_seasons' instead." ,
1038
+ DeprecationWarning ,
1039
+ stacklevel = 2 ,
1040
+ )
1041
+
1042
1042
self ._season_config ["drop_incomplete_djf" ] = drop_incomplete_djf
1043
1043
1044
1044
def _is_valid_reference_period (self , reference_period : Tuple [str , str ]):
You can’t perform that action at this time.
0 commit comments