From 489c0608ac6a508092210539aee5196c7c74b150 Mon Sep 17 00:00:00 2001 From: mj-will Date: Thu, 9 Jan 2025 13:38:48 +0100 Subject: [PATCH] EXAMP: fix calls to `bilby.core.utils.setup_logger` --- examples/bilby_example.py | 2 +- examples/bilby_unbounded_priors.py | 2 +- examples/gw/basic_gw_example.py | 2 +- examples/gw/calibration_example.py | 2 +- examples/gw/full_gw_example.py | 2 +- examples/gw/ins_gw_example.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/bilby_example.py b/examples/bilby_example.py index 7484860f..0f62faa7 100644 --- a/examples/bilby_example.py +++ b/examples/bilby_example.py @@ -13,7 +13,7 @@ label = "bilby_example" # Setup the bilby logger this will also configure the nessai logger. -bilby.core.utils.configure_logger(outdir=outdir, label=label) +bilby.core.utils.setup_logger(outdir=outdir, label=label) # Define a likelihood using Bilby diff --git a/examples/bilby_unbounded_priors.py b/examples/bilby_unbounded_priors.py index 84ad1f40..a706d8f6 100644 --- a/examples/bilby_unbounded_priors.py +++ b/examples/bilby_unbounded_priors.py @@ -10,7 +10,7 @@ label = "bilby_unbounded_priors" # Setup the bilby logger -bilby.core.utils.configure_logger(outdir=outdir, label=label) +bilby.core.utils.setup_logger(outdir=outdir, label=label) # Define a likelihood using Bilby diff --git a/examples/gw/basic_gw_example.py b/examples/gw/basic_gw_example.py index 1a7fc4e5..3482a320 100644 --- a/examples/gw/basic_gw_example.py +++ b/examples/gw/basic_gw_example.py @@ -12,7 +12,7 @@ outdir = "./outdir/" label = "basic_gw_example" -bilby.core.utils.configure_logger(outdir=outdir, label=label) +bilby.core.utils.setup_logger(outdir=outdir, label=label) duration = 4.0 sampling_frequency = 2048.0 diff --git a/examples/gw/calibration_example.py b/examples/gw/calibration_example.py index 02040655..c672f334 100644 --- a/examples/gw/calibration_example.py +++ b/examples/gw/calibration_example.py @@ -16,7 +16,7 @@ outdir = "./outdir/" label = "calibration_example" -bilby.core.utils.configure_logger(outdir=outdir, label=label) +bilby.core.utils.setup_logger(outdir=outdir, label=label) bilby.core.utils.random.seed(150914) diff --git a/examples/gw/full_gw_example.py b/examples/gw/full_gw_example.py index 65ce7b77..c6db7095 100644 --- a/examples/gw/full_gw_example.py +++ b/examples/gw/full_gw_example.py @@ -13,7 +13,7 @@ outdir = "./outdir/" label = "full_gw_example" -bilby.core.utils.configure_logger(outdir=outdir, label=label) +bilby.core.utils.setup_logger(outdir=outdir, label=label) duration = 4.0 sampling_frequency = 2048.0 diff --git a/examples/gw/ins_gw_example.py b/examples/gw/ins_gw_example.py index 5ff38794..c2ab0a24 100644 --- a/examples/gw/ins_gw_example.py +++ b/examples/gw/ins_gw_example.py @@ -13,7 +13,7 @@ outdir = "./outdir/" label = "ins_gw_example_full" -bilby.core.utils.configure_logger(outdir=outdir, label=label) +bilby.core.utils.setup_logger(outdir=outdir, label=label) duration = 4.0 sampling_frequency = 2048.0