From 7a3fd3ecbe3facb5b455c636277b41013475d883 Mon Sep 17 00:00:00 2001 From: Yi Li Date: Mon, 30 Sep 2013 14:51:46 -0700 Subject: [PATCH] On branch master PyLOH.py, run_model.py: --priors_file_name -> --priors --- PyLOH.py | 2 +- pyloh/model/run_model.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PyLOH.py b/PyLOH.py index c0f3b62..f3642a0 100755 --- a/PyLOH.py +++ b/PyLOH.py @@ -72,7 +72,7 @@ parser_run_model.add_argument('--allele_number_max', default=2, type=int, help='''Maximum copy number of each allele allows to take. Default is 2.''') -parser_run_model.add_argument('--priors_file_name', default=None, type=str, +parser_run_model.add_argument('--priors', default=None, type=str, help='''File of the prior distribution. If not provided, use uniform prior. Default is None.''') diff --git a/pyloh/model/run_model.py b/pyloh/model/run_model.py index 5884901..0364d5a 100644 --- a/pyloh/model/run_model.py +++ b/pyloh/model/run_model.py @@ -17,7 +17,7 @@ def run_poisson_model(args): restart_num = len(restart_parameters_list) model = PoissonProbabilisticModel(args.allele_number_max) - model.read_priors(args.priors_file_name) + model.read_priors(args.priors) model.read_data(args.filename_base) model.preprocess()