Skip to content

Commit

Permalink
Merge pull request #3 from jbloom22/balding_nichols
Browse files Browse the repository at this point in the history
fixed context command
  • Loading branch information
johnc1231 committed Jan 19, 2017
2 parents 1fccd6f + f03bd16 commit 9731000
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/hail/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,7 @@ def balding_nichols_model(self, populations, samples, variants, partitions = Non
if partitions is None:
partitions = max(variants * samples // 1000000, 8)

return VariantDataset(self, scala_object(self.jvm.org.broadinstitute.hail.driver, "BaldingNicholsModelCommand").\
balding_nichols(self.jsc, populations, samples, variants,
return VariantDataset(self, self.hail.stats.BaldingNicholsModel.apply(self.jsc, populations, samples, variants,
jarray(self.gateway, self.jvm.double, pop_dist),
jarray(self.gateway, self.jvm.double, fst), seed, partitions, root))

Expand Down

0 comments on commit 9731000

Please sign in to comment.