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

No attr assembly compare bug #88

Merged

Conversation

martinghunt
Copy link
Collaborator

Fixes a bug:
File "/foo/scripts/ariba/clusters.py", line 454, in _write_catted_genes_matching_refs_fasta
if self.clusters[gene].assembly_compare.gene_matching_ref is not None:
AttributeError: 'Cluster' object has no attribute 'assembly_compare'

Happened when a cluster had a failed assembly, which meant that assembly_compare didn't exist.

@martinghunt martinghunt merged commit 842ad0c into sanger-pathogens:master May 18, 2016
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.

1 participant