Skip to content

Commit

Permalink
removed option for verbose output for now, as there was none available
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmurx committed Oct 28, 2020
1 parent 7fb010c commit 7783544
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 5 additions & 3 deletions estimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def parse_arguments(defined_tasks, defined_estimation_methods):
optional_arguments.add_argument("-p", "--persistent", action="store_true", help="Save the analysis to file. If an existing analysis is found, read it from file.")
optional_arguments.add_argument("-s", "--settings-file", metavar="SETTINGS_FILE", action="store", help="Specify yaml file from which to load custom settings.")
optional_arguments.add_argument("-l", "--label", metavar="LABEL", action="store", help="Include a label in the output to classify the analysis.")
optional_arguments.add_argument("-v", "--verbose", action="store_true", help="Print more info at run time.")
# optional_arguments.add_argument("-v", "--verbose", action="store_true", help="Print more info at run time.")
parser._action_groups.append(optional_arguments)
args = parser.parse_args()

Expand Down Expand Up @@ -211,8 +211,10 @@ def parse_arguments(defined_tasks, defined_estimation_methods):

if args.persistent:
settings['persistent_analysis'] = "True"
if args.verbose:
settings['verbose_output'] = "True"
# if args.verbose:
# settings['verbose_output'] = "True"
# else:
settings['verbose_output'] = "False"

if not args.estimation_method is None:
settings['estimation_method'] = args.estimation_method
Expand Down
3 changes: 0 additions & 3 deletions settings/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ ANALYSIS_DIR : ./analysis
# is found, read it from file.
persistent_analysis : True

# If set to True, print more info at run time.
verbose_output : False

# ------------------------------------------------------------------------------ #
# Plot settings
# ------------------------------------------------------------------------------ #
Expand Down
2 changes: 1 addition & 1 deletion src/hde_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def create_default_settings_file(ESTIMATOR_DIR="."):
'label' : '""',
'ANALYSIS_DIR' : "./analysis",
'persistent_analysis' : True,
'verbose_output' : False,
# 'verbose_output' : False,
'plot_AIS' : False,
'plot_settings' : {'figure.figsize' : [6.3, 5.5],
'axes.labelsize': 9,
Expand Down

0 comments on commit 7783544

Please sign in to comment.