[change] decreased verbosity
This commit is contained in:
parent
073ed658b3
commit
78ebb1f8db
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user