Skip to content

Commit 53f97e7

Browse files
committed
raise error in until fixed
1 parent 357fb37 commit 53f97e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

message_ix/tools/add_year/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ def add_year(sc_ref, sc_new, years_new, firstyear_new=None, lastyear_new=None,
118118
point for interpolation (e.g., permitting the extension of a bound to
119119
2025, when there is only one value in 2020).
120120
"""
121+
# TODO: when #578 is solved, remove this
122+
raise NotImplementedError(
123+
'This function is known to not work properly. Please see https://github.com/iiasa/message_ix/issues/578.'
124+
)
125+
121126
# III.A) Adding sets and required modifications
122127
years_new = sorted([x for x in years_new if str(x)
123128
not in set(sc_ref.set('year'))])

0 commit comments

Comments
 (0)