Skip to content

Fix/eliminate warnings #1107

Fix/eliminate warnings

Fix/eliminate warnings #1107

Triggered via pull request October 12, 2023 18:44
Status Success
Total duration 34s
Artifacts 1

packaging.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
/home/runner/work/oemof-solph/oemof-solph/src/oemof/solph/views.py#L404
labels = [s for s, t in x] dataframes = [] for lb in labels: - subset = df.T.groupby( - lambda x1: ( - lambda fr, to, ty: "output" - if (fr == lb and ty == "flow") - else "input" - if (to == lb and ty == "flow") - else "level" - if (fr == lb and ty != "flow") - else None - )(*x1) - ).sum().T + subset = ( + df.T.groupby( + lambda x1: ( + lambda fr, to, ty: "output" + if (fr == lb and ty == "flow") + else "input" + if (to == lb and ty == "flow") + else "level" + if (fr == lb and ty != "flow") + else None + )(*x1) + ) + .sum() + .T + ) subset["net_flow"] = subset["output"] - subset["input"] subset.columns = pd.MultiIndex.from_product( [[lb], [o for o in lb.outputs], subset.columns]
build (3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
tox-gh-actions-dist Expired
1.96 MB