Skip to content

Commit

Permalink
Merge pull request #1399 from mrvisscher/parameter-scenario-fix
Browse files Browse the repository at this point in the history
Fix parameter scenario import bug
  • Loading branch information
mrvisscher authored Oct 18, 2024
2 parents ffd8534 + 4088ed8 commit 9ace464
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions activity_browser/layouts/tabs/LCA_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,10 @@ def load_action(self) -> None:
log.info(
"Superstructure: Attempting to read as parameter scenario file."
)

if not df["Group"].dtype == object:
df["Group"] = df["Group"].astype(str)

include_default = True
if "default" not in df.columns:
query = QtWidgets.QMessageBox.question(
Expand Down

0 comments on commit 9ace464

Please sign in to comment.