akcorut / kGWASflow

kGWASflow is a Snakemake workflow for performing k-mers-based GWAS.
https://github.com/akcorut/kGWASflow/wiki
MIT License
28 stars 8 forks source link

attribute error 'str' object has no attribute 'name' #2

Closed Kxpark closed 1 year ago

Kxpark commented 1 year ago

Howdy, I thought I got all of the input files ready and configured correctly however I cannot seem to fix this error in the code. Hopefully you can help!

line 1222, in eq return self.name == other.name and self.output == other.output AttributeError: 'str' object has no attribute 'name'

image image

akcorut commented 1 year ago

Hey @Kxpark,

Thanks for reporting this. The problem seems to be caused by the version of snakemake (previously reported here: https://github.com/snakemake/snakemake/issues/1899). I update the version of snakemake and changed the environment.yaml file with the commit fdb9255958411b821b5db765577e715def0dcb87. This should fix the issue.

Let me know if the problem continues.

Thanks, Kivanc

Kxpark commented 1 year ago

It seemed to resolve the problem and allow me to run a dry run. Thank you for resolving the issue so quickly!

akcorut commented 1 year ago

No problem. I'm glad the issue got fixed. I'm closing this issue now but feel free to open a new one if you have any issues with the pipeline in the future.

Thanks, Kivanc