Commit 62b136ce authored by Michelle Gill's avatar Michelle Gill
Browse files

Make deprecation a FutureWarning as DeprecationWarning does not seem to print message

parent 48aa329a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1151,10 +1151,9 @@ import warnings

class GraphConvTensorGraph(GraphConvModel):

  def __init__(self, *args, **kwargs):
  warnings.warn("GraphConvTensorGraph is deprecated and has been renamed to GraphConvModel and will be removed in DeepChem 3.0.", FutureWarning)

    warnings.warn("GraphConvTensorGraph is deprecated and has been renamed to GraphConvModel. "
                    "Will be removed in DeepChem 3.0.", DeprecationWarning)
  def __init__(self, *args, **kwargs):

    super(GraphConvTensorGraph, self).__init__(*args, **kwargs)