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

Add more module testing and upgrade to pytest #166

Merged
merged 23 commits into from
Jul 27, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
warn to warning.
Shaurita Hutchins committed Jul 26, 2020
commit 35748d44130d6d9ac65bf761923570241dd7efd5
4 changes: 2 additions & 2 deletions OrthoEvol/utilities.py
Original file line number Diff line number Diff line change
@@ -234,9 +234,9 @@ def get_dup_acc(self, acc_dict, gene_list, org_list):
elif orgs.count(o) != 1:
alt_genes = list(
gene for gene, org in go_list if org == o)
blastutils_log.warn(
blastutils_log.warning(
"A duplicate accession number(%s) persists across %s for %s." % (accession, o, alt_genes))
blastutils_log.warn("%s is also duplicated elsewhere." % accession)
blastutils_log.warning("%s is also duplicated elsewhere." % accession)
duplicated_dict['organisms'][o][accession] = alt_genes

# Duplicates that persist across a gene