diff --git a/bilby/core/utils.py b/bilby/core/utils.py index 0cc56f204600ad9aadcf312702a856069511b0cc..14febcf08f092a17e4dbca7faaafc32ecbe480ab 100644 --- a/bilby/core/utils.py +++ b/bilby/core/utils.py @@ -990,7 +990,7 @@ class BilbyJsonEncoder(json.JSONEncoder): if isinstance(obj, units.PrefixUnit): return str(obj) except ImportError: - logger.info("Cannot import astropy, cannot write cosmological priors") + logger.debug("Cannot import astropy, cannot write cosmological priors") if isinstance(obj, np.ndarray): return {'__array__': True, 'content': obj.tolist()} if isinstance(obj, complex): @@ -1052,8 +1052,8 @@ def decode_astropy_cosmology(dct): del dct['__cosmology__'], dct['__name__'] return cosmo_cls(**dct) except ImportError: - logger.info("Cannot import astropy, cosmological priors may not be " - "properly loaded.") + logger.debug("Cannot import astropy, cosmological priors may not be " + "properly loaded.") return dct @@ -1066,8 +1066,8 @@ def decode_astropy_quantity(dct): del dct['__astropy_quantity__'] return units.Quantity(**dct) except ImportError: - logger.info("Cannot import astropy, cosmological priors may not be " - "properly loaded.") + logger.debug("Cannot import astropy, cosmological priors may not be " + "properly loaded.") return dct diff --git a/bilby/gw/detector/__init__.py b/bilby/gw/detector/__init__.py index b67723db10100bf56d6c57151d18e30d9a6e95bd..7d5dec8f1e33bbb67d2558c56e7a9ce332db7272 100644 --- a/bilby/gw/detector/__init__.py +++ b/bilby/gw/detector/__init__.py @@ -9,8 +9,8 @@ try: import lal import lalsimulation as lalsim except ImportError: - logger.warning("You do not have lalsuite installed currently. You will" - " not be able to use some of the prebuilt functions.") + logger.debug("You do not have lalsuite installed currently. You will" + " not be able to use some of the prebuilt functions.") def get_safe_signal_duration(mass_1, mass_2, a_1, a_2, tilt_1, tilt_2, flow=10): diff --git a/bilby/gw/detector/interferometer.py b/bilby/gw/detector/interferometer.py index 1d043a5d38e7307c2a2f57e020b1943c4e4474a7..f2e03a13ac149f98feec07a2cc513bee58e3a171 100644 --- a/bilby/gw/detector/interferometer.py +++ b/bilby/gw/detector/interferometer.py @@ -16,8 +16,8 @@ try: import gwpy import gwpy.signal except ImportError: - logger.warning("You do not have gwpy installed currently. You will " - " not be able to use some of the prebuilt functions.") + logger.debug("You do not have gwpy installed currently. You will " + " not be able to use some of the prebuilt functions.") class Interferometer(object): diff --git a/bilby/gw/detector/strain_data.py b/bilby/gw/detector/strain_data.py index 358a507d7f914412630c96a2ec1c2ab7bbb5b4e7..ab7f5efd96efdc8761db072418632e62b1e19a59 100644 --- a/bilby/gw/detector/strain_data.py +++ b/bilby/gw/detector/strain_data.py @@ -11,14 +11,14 @@ try: import gwpy import gwpy.signal except ImportError: - logger.warning("You do not have gwpy installed currently. You will " - " not be able to use some of the prebuilt functions.") + logger.debug("You do not have gwpy installed currently. You will " + " not be able to use some of the prebuilt functions.") try: import lal except ImportError: - logger.warning("You do not have lalsuite installed currently. You will" - " not be able to use some of the prebuilt functions.") + logger.debug("You do not have lalsuite installed currently. You will" + " not be able to use some of the prebuilt functions.") class InterferometerStrainData(object): diff --git a/bilby/gw/source.py b/bilby/gw/source.py index c6f7101801bbe671bc0785da8d217a94262503ee..cd8c9e57b7faebcc983a3b113903c95effde663a 100644 --- a/bilby/gw/source.py +++ b/bilby/gw/source.py @@ -16,8 +16,8 @@ try: import lal import lalsimulation as lalsim except ImportError: - logger.warning("You do not have lalsuite installed currently. You will" - " not be able to use some of the prebuilt functions.") + logger.debug("You do not have lalsuite installed currently. You will" + " not be able to use some of the prebuilt functions.") def lal_binary_black_hole( diff --git a/bilby/gw/utils.py b/bilby/gw/utils.py index e22641bb0a934e35bbd863ceb25b593f0c17f0d7..5feb3d51d595395c7fd83b5dda7f947c9830ec90 100644 --- a/bilby/gw/utils.py +++ b/bilby/gw/utils.py @@ -15,15 +15,15 @@ from ..core.utils import (ra_dec_to_theta_phi, try: from gwpy.timeseries import TimeSeries except ImportError: - logger.warning("You do not have gwpy installed currently. You will " - " not be able to use some of the prebuilt functions.") + logger.debug("You do not have gwpy installed currently. You will " + " not be able to use some of the prebuilt functions.") try: import lal import lalsimulation as lalsim except ImportError: - logger.warning("You do not have lalsuite installed currently. You will" - " not be able to use some of the prebuilt functions.") + logger.debug("You do not have lalsuite installed currently. You will" + " not be able to use some of the prebuilt functions.") def asd_from_freq_series(freq_data, df):