Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/2.3.0.dev' into 2.3.0.dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	premise/pathways.py
  • Loading branch information
romainsacchi committed Dec 22, 2024
2 parents 6d9ab0a + 6276a95 commit f0fdc7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions premise/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,6 @@ def create_markets(self) -> None:
# Open corresponding config file
configuration = self.configurations[i]


# Check if information on market creation is provided
if "markets" in configuration:
for market_vars in configuration["markets"]:
Expand Down Expand Up @@ -1372,7 +1371,6 @@ def create_markets(self) -> None:
# check if there are variables that
# relate to inefficiencies or losses


# check if we should add some additional exchanges
if "add" in market_vars:
for additional_exc in market_vars["add"]:
Expand Down Expand Up @@ -1404,7 +1402,6 @@ def create_markets(self) -> None:
self.add_to_index(new_market)
market_status[region] = True


else:
print(
f"No suppliers found for {new_market['name']} in {region}. "
Expand Down
2 changes: 1 addition & 1 deletion premise/external_data_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def adjust_candidates_or_raise_error(
duplicate_name = None
if val.get("duplicate") is True:
duplicate_name = val["original name"]
#duplicate_name = key[0]
# duplicate_name = key[0]
key = (key[0].split("_")[0], key[1])

potential_candidates = identify_potential_candidates(
Expand Down

0 comments on commit f0fdc7b

Please sign in to comment.