-
Notifications
You must be signed in to change notification settings - Fork 517
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
Snakemake crashes with AttributeError: 'str' object has no attribute 'name #1892
Labels
bug
Something isn't working
Comments
Happens on my system as well |
it is happening to everybody I guess |
Tried to roll back to older versions. Could it be the new release of tabulate: https://pypi.org/project/tabulate/#history? Edit: Downgrading to tabulate 0.8.10 resolved the issue for me |
See issue #1891 |
This was referenced Oct 7, 2022
hitting this as well |
Hit this as well. |
Yep |
2 tasks
johanneskoester
added a commit
that referenced
this issue
Oct 8, 2022
…late package (#1898) * fixes #1892 * fixes #1891 Thanks to @ftabaro for pointing me to the problem and providing an initial solution (#1893). ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [x] 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).
johanneskoester
pushed a commit
that referenced
this issue
Oct 8, 2022
### Description Fixes #1891 and #1892. The issue is that the [`__eq__` method of `Rule`](https://github.com/snakemake/snakemake/blob/274d613fd27b632d5bbe4c6fe55a82262d6b2dec/snakemake/rules.py#L1221) implicitly expects `other` to be an instance of `Rule` as well. Thus, any comparison of a `Rule` instance to any non-`Rule` object leads to an `AttributeError`. This is a more general fix than #1893. ### QC * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [x] 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).
dariober
added a commit
to glaParaBio/genomeAnnotationPipeline
that referenced
this issue
Oct 10, 2022
dariober
added a commit
to glaParaBio/genetic-variant-detection-in-cell-pops
that referenced
this issue
Oct 10, 2022
1 task
ilveroluca
added a commit
to crs4/fair-crcc-get-data
that referenced
this issue
Oct 27, 2022
Work around [snakemake issue #1892](snakemake/snakemake#1892)
ilveroluca
added a commit
to crs4/fair-crcc-get-data
that referenced
this issue
Oct 27, 2022
Work around [snakemake issue #1892](snakemake/snakemake#1892)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Snakemake version
snakemake --version
7.15.1
Describe the bug
The snakemake process crashes on a minimal workflow.
Logs
Minimal example
Additional context
The text was updated successfully, but these errors were encountered: