Skip to content

Commit

Permalink
Fix the previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olejandro committed Mar 3, 2024
1 parent 5f80c0e commit 3c98fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xl2times/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def generate_uc_properties(
# Handle allregions by substituting it with a list of internal regions
index = user_constraints["region"].str.lower() == "allregions"
if any(index):
user_constraints.loc[index, ["region"]] = list(model.internal_regions)
user_constraints.loc[index, ["region"]] = ",".join(model.internal_regions)

# Handle comma-separated regions
index = user_constraints["region"].str.contains(",")
Expand Down

0 comments on commit 3c98fa5

Please sign in to comment.