We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 925dff0 + d9417a7 commit 196bca9Copy full SHA for 196bca9
1 file changed
activity_browser/bwutils/superstructure/manager.py
@@ -319,7 +319,7 @@ def merge_flows_to_self(df: pd.DataFrame) -> pd.DataFrame:
319
prod_amt = list(bd.get_activity(idx[0]).production())[0].get("amount", 1)
320
# make a new df to edit the production, add the correct values/indices where needed
321
# and concat to the main df
322
- self_referential_production_flows.loc[idx, "flow type"] = "production"
+ self_referential_production_flows.loc[idx, ["flow type"]] = "production"
323
self_referential_production_flows.loc[idx, scenario_cols] = prod_amt
324
if len(self_referential_production_flows) > 0:
325
tech_idxs = [
0 commit comments