Skip to content

Commit

Permalink
missed the fact that the level was set to warn, not info, as default …
Browse files Browse the repository at this point in the history
…before
  • Loading branch information
GarethCabournDavies committed Dec 4, 2023
1 parent f9034ed commit 4111cc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions bin/all_sky_search/pycbc_fit_sngls_by_template
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ statsmod.insert_statistic_option_group(parser,
default_ranking_statistic='single_ranking_only')
args = parser.parse_args()

logging_level = 1 if args.verbose is None else args.verbose + 1
init_logging(logging.level)
init_logging(args.verbose)

args.veto_segment_name = sum(args.veto_segment_name, [])
args.veto_file = sum(args.veto_file, [])
Expand Down
3 changes: 1 addition & 2 deletions bin/all_sky_search/pycbc_fit_sngls_over_multiparam
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ for inputstr in smooth_kwargs:

assert len(args.log_param) == len(args.fit_param) == len(args.smoothing_width)

logging_level = 1 if args.verbose is None else args.verbose + 1
init_logging(logging.level)
init_logging(args.verbose)

fits = h5py.File(args.template_fit_file, 'r')

Expand Down
3 changes: 1 addition & 2 deletions bin/all_sky_search/pycbc_fit_sngls_over_param
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ args = parser.parse_args()
if args.regression_method == 'nn' and args.num_neighbors < 1:
raise RuntimeError("Need to give a positive number of nearest neighbors!")

logging_level = 1 if args.verbose is None else args.verbose + 1
init_logging(logging.level)
init_logging(args.verbose)

fits = h5py.File(args.template_fit_file, 'r')

Expand Down

0 comments on commit 4111cc8

Please sign in to comment.