Skip to content

Fix type error in cluster_network with "m" configuration#986

Merged
fneum merged 1 commit intoPyPSA:masterfrom
Climact:feature/fix-cluster-network-type
Mar 22, 2024
Merged

Fix type error in cluster_network with "m" configuration#986
fneum merged 1 commit intoPyPSA:masterfrom
Climact:feature/fix-cluster-network-type

Conversation

@tgi-climact
Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request

Fix type error when using "m" option.

Raised error :

    aggregate_carriers = params.conventional_carriers & aggregate_carriers
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for &: 'list' and 'set'

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in all of config.default.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv.
  • A release note doc/release_notes.rst is added.

@fneum fneum merged commit d72576a into PyPSA:master Mar 22, 2024
@tgi-climact tgi-climact deleted the feature/fix-cluster-network-type branch May 21, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants