Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Initialize assignments dictionary when setting rule-based resources #1154

Merged
merged 3 commits into from Aug 27, 2021
Merged

fix: Initialize assignments dictionary when setting rule-based resources #1154

merged 3 commits into from Aug 27, 2021

Conversation

percyfal
Copy link
Contributor

@percyfal percyfal commented Aug 26, 2021

Initialize assignments[rule] dictionary

Description

Add missing assignment to assignments dictionary. Fixes issue #1080

QC

  • The PR contains a test case for the changes or the changes are already covered by an existing test case.
  • The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Initialize assignments[rule] dictionary
@percyfal percyfal requested a review from johanneskoester as a code owner Aug 26, 2021
@percyfal percyfal changed the title Fix issue #1080 fix: Fix issue #1080 Aug 26, 2021
@percyfal percyfal changed the title fix: Fix issue #1080 fix: Initialize assignments dictionary when setting rule-based resources Aug 26, 2021
snakemake/__init__.py Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Aug 27, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@johanneskoester johanneskoester merged commit 68c13fd into snakemake:main Aug 27, 2021
6 checks passed
@johanneskoester
Copy link
Contributor

johanneskoester commented Aug 27, 2021

Thanks a lot!

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.

None yet

2 participants