Skip to content

Commit

Permalink
Fixed mutation rate CLI corner case.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed May 26, 2015
1 parent 1ead257 commit d4e32e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msprime/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def mspms_main():
help="Maximum memory used. Supports K,M and G suffixes")

args = parser.parse_args()
if args.mutation_rate is None and not args.trees:
if args.mutation_rate == 0 and not args.trees:
parser.error("Need to specify at least one of --theta or --trees")
sr = create_simulation_runner(args)
sr.run(sys.stdout)

0 comments on commit d4e32e1

Please sign in to comment.