From 393c2878eaacfdaf882a704a392de621c5386b21 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins <jrollins@finestructure.net> Date: Thu, 13 Feb 2020 08:52:46 -0800 Subject: [PATCH] fix warning about thermal lensing in gwinc func --- gwinc/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gwinc/__init__.py b/gwinc/__init__.py index 7099de5c..fcabced5 100644 --- a/gwinc/__init__.py +++ b/gwinc/__init__.py @@ -124,8 +124,7 @@ def gwinc(freq, ifo, source=None, plot=False, PRfixed=True): finesse = ifo.gwinc.finesse prfactor = ifo.gwinc.prfactor if ifo.Laser.Power * prfactor != pbs: - pass - #warning(['Thermal lensing limits input power to ' num2str(pbs/prfactor, 3) ' W']); + logging.warning("Thermal lensing limits input power to {} W".format(pbs/prfactor)) # report astrophysical scores if so desired score = None -- GitLab