Skip to content

Commit

Permalink
Adjust imports for code upstreamed in #13
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Jul 29, 2024
1 parent 11d60f4 commit e242f8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion message_ix_models/model/transport/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def migrate(context, version, check_base, parse, region, source_path, dest):
@click.pass_obj
def build_cmd(context, dest, **options):
"""Prepare the model."""
from message_data.model import bare
from message_ix_models.model import bare
from message_data.model.transport import build

# Handle --regions; use a sensible default for MESSAGEix-Transport
Expand Down
8 changes: 4 additions & 4 deletions message_ix_models/model/transport/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
import pandas as pd
from message_ix import make_df
from message_ix_models import ScenarioInfo
from message_ix_models.util import add_par_data

from message_data.model.transport.utils import add_commodity_and_level
from message_data.tools import (
from message_ix_models.util import (
add_par_data,
broadcast,
make_io,
make_matched_dfs,
make_source_tech,
same_node,
)

from message_data.model.transport.utils import add_commodity_and_level

from .groups import get_consumer_groups # noqa: F401
from .ldv import get_ldv_data
from .non_ldv import get_non_ldv_data
Expand Down

0 comments on commit e242f8b

Please sign in to comment.