Skip to content
New issue

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

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

Already on GitHub? # to your account

Cope with missing labels #24

Merged
merged 1 commit into from
Apr 9, 2016

Conversation

peterjc
Copy link
Collaborator

@peterjc peterjc commented Mar 31, 2016

Note: Pull request is against the v0.2 development branch, it would need tweaking to apply to the current master branch.

Use case: Have output from genbank_get_genomes_by_taxon.py which writes classes.txt and labels.txt but added one or two local FASTA files without updating the caption files.

This commit avoids getting a nasty KeyError (although perhaps a warning would be better?)

e.g. Using output from genbank_get_genomes_by_taxon.py which
writes classes.txt and labels.txt but adding one or two local
FASTA files without updating the caption files.

Avoids getting a nasty KeyError (although perhaps a warning
would be better?)
@widdowquinn widdowquinn self-assigned this Apr 9, 2016
@widdowquinn widdowquinn added the enhancement something we'd like pyani to do that it doesn't already label Apr 9, 2016
@widdowquinn widdowquinn merged commit 465b928 into widdowquinn:v0.2 Apr 9, 2016
@widdowquinn
Copy link
Owner

Thanks @peterjc - that's been merged in to v0.2.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement something we'd like pyani to do that it doesn't already
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants