Skip to content

Commit ea442bd

Browse files
committed
Change to using package_data_path()
1 parent 7a4e6fe commit ea442bd

File tree

1 file changed

+2
-3
lines changed
  • message_ix_models/project/ssp/script/scenarios

1 file changed

+2
-3
lines changed

message_ix_models/project/ssp/script/scenarios/very_low.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
from message_ix_models.project.ssp.script.util.shares import (
1616
main as add_UE_share_constraints,
1717
)
18-
19-
path_ue = "/Users/meas/iiasagit/scenariomip-review/scenariomip_review/data/ue-shares"
20-
# path_ue = "/home/mengm/repo/scenariomip-review/scenariomip_review/data/ue-shares"
18+
from message_ix_models.util import package_data_path
2119

2220
# selections
2321
sel_scen = "LED"
@@ -44,6 +42,7 @@
4442
]
4543

4644
# model and scenario names
45+
path_ue = package_data_path("ue-shares")
4746
path_ue_file = os.path.join(path_ue, file_ue)
4847
snames = {"SSP1": "SSP1 - Very Low Emissions", "LED": "SSP2 - Very Low Emissions"}
4948
svers = {"SSP1": 1, "LED": 2}

0 commit comments

Comments
 (0)