Skip to content

Commit

Permalink
Put import in right place
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Aug 15, 2024
1 parent 60a3b3d commit 343b5b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bw2io/importers/simapro_block_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
fix_zero_allocation_products,
link_iterable_by_fields,
link_technosphere_based_on_name_unit_location,
match_internal_simapro_simapro_with_unit_conversion,
migrate_datasets,
migrate_exchanges,
normalize_biosphere_categories,
Expand Down Expand Up @@ -63,6 +64,7 @@ def __init__(
other=Database(biosphere_database_name or config.biosphere),
kind=labels.biosphere_edge_types,
),
match_internal_simapro_simapro_with_unit_conversion,
]

def create_technosphere_placeholders(self, database_name: str):
Expand Down
2 changes: 0 additions & 2 deletions bw2io/importers/simapro_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
fix_zero_allocation_products,
link_iterable_by_fields,
link_technosphere_based_on_name_unit_location,
match_internal_simapro_simapro_with_unit_conversion,
migrate_datasets,
migrate_exchanges,
normalize_biosphere_categories,
Expand Down Expand Up @@ -75,7 +74,6 @@ def __init__(
functools.partial(set_code_by_activity_hash, overwrite=True),
change_electricity_unit_mj_to_kwh,
link_technosphere_based_on_name_unit_location,
match_internal_simapro_simapro_with_unit_conversion,
set_lognormal_loc_value_uncertainty_safe,
]
if normalize_biosphere:
Expand Down

0 comments on commit 343b5b3

Please sign in to comment.