Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
eseraygun committed Jan 4, 2014
2 parents a68c0c6 + b04ea38 commit 614ec45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alignment/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def sorted(self):

def probabilities(self):
t = sum(self.__weights.itervalues())
return {e: float(w) / t for e, w in self.__weights.iteritems()}
return dict((e, float(w) / t) for e, w in self.__weights.iteritems())

def toDict(self):
return self.__weights
Expand Down

0 comments on commit 614ec45

Please sign in to comment.