Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanssen2 committed Nov 17, 2020
1 parent 0d4a2fa commit 7f54076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions t2t/nlevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from skbio import TreeNode
from t2t.util import unzip
import re
import os
import io

__author__ = "Daniel McDonald"
__copyright__ = "Copyright 2011, The tax2tree project"
Expand Down Expand Up @@ -517,6 +515,7 @@ def name_node_score_fold(tree, score_f=fmeasure, tiebreak_f=min_tips,

return used_scores


def score_tree(tree, verbose=False):
"""Scores the tree based on RankNameScores and tip coverage
Expand Down
4 changes: 2 additions & 2 deletions t2t/remap.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
def parse_otu_map(lines):
"""Returns {rep: [members]}, members include rep"""
res = {}
for l in lines:
fields = l.strip().split('\t')
for line in lines:
fields = line.strip().split('\t')
rep = fields[1]
members = fields[1:]
res[rep] = members
Expand Down

0 comments on commit 7f54076

Please sign in to comment.