Skip to content

Commit

Permalink
Minor bug in buildVirtual
Browse files Browse the repository at this point in the history
  • Loading branch information
Angela Brooks committed Jul 26, 2012
1 parent f965bab commit 9e740e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildVirtualReference_median.py
Expand Up @@ -281,7 +281,7 @@ def getMedianVirtualReferences(excl_incl_vals, total_thresh,
if excl_counts == []:
return "NA", "NA", "NA"

if weights:
if all_weights:
virtual_median = "%d;%d" % (int(round(r['weighted.median'](robjects.IntVector(excl_counts),
robjects.FloatVector(weights))[0])),
int(round(r['weighted.median'](robjects.IntVector(incl_counts),
Expand Down

0 comments on commit 9e740e7

Please sign in to comment.