[change] decreased verbosity
This commit is contained in:
parent
073ed658b3
commit
78ebb1f8db
@ -229,8 +229,7 @@ class ProbabilityDensityFunction(object):
|
|||||||
# calculate pdf values
|
# calculate pdf values
|
||||||
try:
|
try:
|
||||||
pdf = branches[type](create_axis(x0, incr, npts), barycentre, *params)
|
pdf = branches[type](create_axis(x0, incr, npts), barycentre, *params)
|
||||||
except TypeError as e:
|
except TypeError:
|
||||||
print('Warning:\n' + e.message + '\n' + 'trying timestamp instead')
|
|
||||||
assert isinstance(barycentre, UTCDateTime), 'object not capable of' \
|
assert isinstance(barycentre, UTCDateTime), 'object not capable of' \
|
||||||
' timestamp representation'
|
' timestamp representation'
|
||||||
pdf = branches[type](create_axis(x0, incr, npts),
|
pdf = branches[type](create_axis(x0, incr, npts),
|
||||||
|
Loading…
Reference in New Issue
Block a user