Skip to content

Commit

Permalink
clarified output
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Simkovic committed Jan 19, 2017
1 parent 69aae6e commit 908b86b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/conkit.precision
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,16 @@ def main():
con.remove_neighbors(min_distance=args.dtn, inplace=True)

ncontacts = int(seq.seq_len * args.dfactor)
logging.info('Number of contacts: {0}'.format(ncontacts))
logging.info('Max number of contacts: {0}'.format(ncontacts))
con.sort('raw_score', reverse=True, inplace=True)
con_sliced = con[:ncontacts]

con_matched = con_sliced.match(pdb)
precision = con_matched.precision

logging.info('Precision score: {0}'.format(precision))

return 0

if __name__ == "__main__":
sys.exit(main())

0 comments on commit 908b86b

Please sign in to comment.