Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Vini2 committed Feb 8, 2021
1 parent deae548 commit 30caf19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion evaluation_scripts/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ def getF1(prec, recall):
bins_species[bins_1[i]][ground_truth_bins_1[i]] += 1


print("Number of contigs available in the binning result that are present in the ground truth:", total_binned, ground_truth_count, (ground_truth_count-total_binned))
print("Number of contigs available in the binning result that are present in the ground truth:",
total_binned, ground_truth_count, (ground_truth_count-total_binned))

print()
print("KxS Matrix:")
Expand Down
2 changes: 1 addition & 1 deletion src/metacoag_utils/feature_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from multiprocessing import Pool

complements = {'A':'T', 'C':'G', 'G':'C', 'T':'A'}
nt_bits = {'A':0,'C':1,'G':2,'T':3}
nt_bits = {'A':0, 'C':1, 'G':2, 'T':3}

def get_rc(seq):
rev = reversed(seq)
Expand Down

0 comments on commit 30caf19

Please sign in to comment.