From 78ebb1f8db0a042de51e8f45430d5efc2bcfff60 Mon Sep 17 00:00:00 2001 From: Sebastianw Wehling-Benatelli Date: Tue, 14 Jun 2016 14:55:18 +0200 Subject: [PATCH] [change] decreased verbosity --- pylot/core/util/pdf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pylot/core/util/pdf.py b/pylot/core/util/pdf.py index 090da81c..f199e52f 100644 --- a/pylot/core/util/pdf.py +++ b/pylot/core/util/pdf.py @@ -229,8 +229,7 @@ class ProbabilityDensityFunction(object): # calculate pdf values try: pdf = branches[type](create_axis(x0, incr, npts), barycentre, *params) - except TypeError as e: - print('Warning:\n' + e.message + '\n' + 'trying timestamp instead') + except TypeError: assert isinstance(barycentre, UTCDateTime), 'object not capable of' \ ' timestamp representation' pdf = branches[type](create_axis(x0, incr, npts),